Skip to content

Incorrect code generation and unsupported expressions #215

Closed

Description

@dbolin

Tried to use FEC in a personal project that uses compiled expressions for its core functionality - https://github.com/dbolin/Apex.Serialization

After replacing the calls to Compile() with CompileFast(), 30 tests of out the 272 total fail. If I call CompileFast(true), 134 tests fail.

I wasn't able to run any benchmarks beyond the simplest case to see if there would be any runtime performance difference.

Activity

  1. dadhi commented on Aug 18, 2019

    @dadhi
    Owner

    First, what FEC version do you use?

    Then as usual, it is either the same issue, or number of not related bugs. The only possibility is to fix them one by one having a smallest reproducible failing test(s) from you.

  2. dbolin commented on Aug 19, 2019

    @dbolin
    Author

    I was using the master branch. Decrement expression is currently not supported, which accounted for most if not all of the difference from disabling the fallback.

    I spent some time investigating one of the failures, but wasn't able to produce a simpler case that failed based on it. I might try again later.

  3. added
    application
    on Jul 16, 2020
  4. self-assigned this
    on Aug 10, 2020
  5. added this to the 3.0.0 milestone on Aug 18, 2020
  6. linked a pull request that will close this issueV3 version #246on Aug 18, 2020
  7. added 2 commits that reference this issue on Aug 19, 2020
  8. dadhi commented on Sep 29, 2020

    @dadhi
    Owner

    @dbolin I have added the dedicated issue #261 to support all of the current Apex.Serialization tests and I have decent progress there in the V3 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

applicationbug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions