mirror of
https://github.com/apple/pkl.git
synced 2026-03-01 21:57:43 +01:00
Stack overflow with reflect related items #87
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mitchcapper on GitHub (Feb 21, 2024).
Tells me its an unexpected error. Simple pkl file:
I assume you don't need the entire stack trace on this one but if you want it let me know
@mitchcapper commented on GitHub (Feb 21, 2024):
Not the same but
–– Pkl Error ––
Stack overflow
Pkl 0.25.2 (Windows 10 10.0, Java 21.0.2)
java.lang.StackOverflowError
at java.base/java.util.stream.StreamOpFlag.fromCharacteristics(StreamOpFlag.java:750)
at java.base/java.util.stream.StreamSupport.intStream(StreamSupport.java:139)
at java.base/java.lang.String.codePoints(String.java:4334)
at org.pkl.core.parser.Lexer.isRegularIdentifier(Lexer.java:89)
at org.pkl.core.parser.Lexer.maybeQuoteIdentifier(Lexer.java:96)
at org.pkl.core.stdlib.base.PcfRenderer.visitProperty(PcfRenderer.java:267)
at org.pkl.core.stdlib.AbstractRenderer.doVisitProperty(AbstractRenderer.java:195)
at org.pkl.core.stdlib.AbstractRenderer.lambda$visitTyped$0(AbstractRenderer.java:256)
at org.pkl.core.runtime.VmObject.lambda$iterateAlreadyForcedMemberValues$1(VmObject.java:132)
at org.pkl.core.runtime.VmObject.iterateMembers(VmObject.java:148)
at org.pkl.core.runtime.VmObject.iterateMembers(VmObject.java:141)
....
@bioball commented on GitHub (Feb 21, 2024):
Thanks; this will be fixed by https://github.com/apple/pkl/pull/170
@holzensp commented on GitHub (Feb 21, 2024):
Marking as fixed, because #170 is in the past. If you run into this again on the snapshot builds or future releases, please re-open.
@mitchcapper commented on GitHub (Feb 21, 2024):
Is there a public circleci or snapshot builds somewhere? Given #20 cannot quickly local compile to test.
@holzensp commented on GitHub (Feb 21, 2024):
Generally; explore https://s01.oss.sonatype.org/content/groups/public/org/pkl-lang/