You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experimenting with this infix function that makes parsers very readable, as you probably agree seeing the above.
Even though the IDE seems to accept this code (no highlighted errors), a backend error occurs:
method separatedBy$minOccurrences in class com.athaydes.parcey.combinator.separatedBy_ cannot be applied to given types;
required: com.redhat.ceylon.compiler.java.runtime.model.TypeDescriptor,com.athaydes.parcey.Parser<? extends java.lang.Object>,com.athaydes.parcey.Parser<? extends ceylon.language.Iterable<? extends Item,? extends java.lang.Object>>
found: com.athaydes.parcey.Parser,com.athaydes.parcey.Parser
reason: cannot instantiate from arguments because actual and formal argument lists differ in length helperFunctionsTests.ceylon /parcey/source/test/com/athaydes/parcey Unknown Ceylon Backend Error
Sorry for the vague title, but I don't know what's going on exactly here...
Here's my code:
It's from my library of parser combinators!
I'm experimenting with this
infix
function that makes parsers very readable, as you probably agree seeing the above.Even though the IDE seems to accept this code (no highlighted errors), a backend error occurs:
The definition of infix is this:
The error showed up when I added the separatedBy function, which has this signature:
Hope this is enough info. Let me know if you need more (the source code of this project is on GitHub if you need it, the link again).
The text was updated successfully, but these errors were encountered: