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
Caused by: java.lang.IllegalArgumentException: charIndex out of range
at com.oracle.truffle.api.source.Source.createSection(Source.java:606)
at com.oracle.truffle.r.engine.REngine.createRScriptRoot(REngine.java:385)
at com.oracle.truffle.r.engine.REngine.parseToCallTarget(REngine.java:303)
at com.oracle.truffle.r.engine.TruffleRLanguageImpl.parse(TruffleRLanguageImpl.java:195)
at com.oracle.truffle.api.TruffleLanguage$ParsingRequest.parse(TruffleLanguage.java:799)
at com.oracle.truffle.api.TruffleLanguage.parse(TruffleLanguage.java:1246)
at com.oracle.truffle.api.TruffleLanguage$LanguageImpl.parse(TruffleLanguage.java:2449)
at com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.parse(TruffleInstrument.java:409)
This is because a new-line character is appended in REngine.createRScriptRoot if a IncompleteSourceException occurs so that the StringBuilder contains more characters than the source.
The text was updated successfully, but these errors were encountered:
Parsing
a$
causes the following exception:This is because a new-line character is appended in
REngine.createRScriptRoot
if aIncompleteSourceException
occurs so that the StringBuilder contains more characters than the source.The text was updated successfully, but these errors were encountered: