Closed jiamo closed 4 years ago
I try study this simple language. And replace 'function' to 'func' in g4 file. After change hardcode function to func Only one test can't pass:
g4
function
func
Tests in error: testReplaceNodeReturnValue(com.oracle.truffle.sl.test.SLInstrumentTest): Undefined property: rp1
Is something hardcode in language/src/main which may cause this problem?
language/src/main
In case you want reproduce: https://github.com/jiamo/study_sl
After understand SourceSection and change to SourceSection ss = DebuggerTester.getSourceImpl(source).createSection(20, 5); it works.
SourceSection
SourceSection ss = DebuggerTester.getSourceImpl(source).createSection(20, 5);
I try study this simple language. And replace 'function' to 'func' in
g4
file. After change hardcodefunction
tofunc
Only one test can't pass:Is something hardcode in
language/src/main
which may cause this problem?In case you want reproduce: https://github.com/jiamo/study_sl