This commit is contained in:
2022-11-03 16:25:29 +01:00
parent 632ed7c089
commit cceefa6375
4 changed files with 23 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
/*
NOTES: For some reason, this code results in the error:
Undeclared variable "inner"
It only occurs under these very specific conditions.
It appears to be a compiler issue, see issue #38 for more info.
*/
fn _getValue(self) {
return self;
}
var cache;
cache = 42.getValue(); //assignment, rather than declaration, allows the bug
print "All good";