Improved parser to handle variables

This commit is contained in:
2021-10-28 15:11:13 +02:00
parent b11ec9003e
commit e6895992c2
6 changed files with 70 additions and 16 deletions

View File

@@ -1,5 +1,3 @@
public lib Preview.Variables {
public var str: string = "Hello World";
public var test: bool = false;

View File

@@ -17,8 +17,8 @@ public lib Main {
}
private func testForEach(): void {
var list = [];
list.forEach(e => {
var loopList = [];
loopList.forEach(e => {
output(e);
});
}