[ ] Language error (code doesn't compile when it should)
[x] Target code error (code doesn't do what it should)
Language Error:
Please enter what you typed that didn't compile:
Target code error:
Please enter what you typed that didn't work on the target language:
class Test
{
number test
ctor() {
test = 0
}
increment() {
test++
}
}
main()
{
Test instance = new Test()
@println(instance.test)
instance.increment()
@println(instance.test)
}
The output should print 0, then 1, but it prints 0, then 0 both times.
This bug is a:
Language Error:
Please enter what you typed that didn't compile:
Target code error:
Please enter what you typed that didn't work on the target language:
The output should print
0
, then1
, but it prints0
, then0
both times.