Comments (3)
Thanks for reporting the issue. With regards to your proposed solution, AFAICS postponing the check is difficult as the Ref
parser has no knowledge of the parsers that refer to it, so there is no straightforward way for the ref to invoke the check when it's initialised.
I guess a proper solution would entail the ref maintaining a list of deferred checks that would be executed when it's initialised.
The simplest thing I can do here for now is to simply disable the check in many
if the current parser is a Ref
. Let me know if you see a better way to fix this.
from funcj.
I've checked in a fix. Let me know if it works for you.
from funcj.
The fix works, thank you for the quick response!
from funcj.
Related Issues (20)
- Add support for BigDecimal and related types
- Try/Option etc recursion scheme methods
- IList::flatmap does not assign result properly HOT 1
- Allow data to be serialised even if a ctor can't be found
- Add support for Avro
- Allow dynamic type tags to be disabled
- funcj.codec - add support for type aliases
- Codec support for configurable field naming
- Codec: registerAllowedPackage support for package wildcards
- Add support to JSON and XML streaming codecs for support pretty-printing
- `sepBy1` should return `NonEmpty<T>` HOT 1
- `choice` and `or` combinators do not work correctly with `string` HOT 2
- Strange behaviour for `choice` HOT 4
- Need help with my grammar definition HOT 4
- Partial parsing fails HOT 5
- Request: Change visibility of various parser fields in `JsonCombParser` to public HOT 7
- Example parsers with specific Token data structure vs Chr HOT 3
- how would you go about capturing a block comment? HOT 4
- Add support for MessagePack encoding HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funcj.