Fixed bug where no parameter function calls were not typechecked and function/struct name collision. Improved regex library to where it can do straight-line regexs
This commit is contained in:
@@ -5,6 +5,8 @@ import sameNameTwo
|
||||
var sameVar: int;
|
||||
fun sameFun(): int { return 4; }
|
||||
|
||||
fun classTester(): int { return 10; }
|
||||
|
||||
obj classTester {
|
||||
fun method(): int {
|
||||
return 7
|
||||
@@ -32,5 +34,7 @@ fun main(): int {
|
||||
println(class2.method())
|
||||
println(class3.method())
|
||||
|
||||
println(classTester())
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user