lang: unification: Improve type unification algorithm
The simple type unification algorithm suffered from some serious performance and memory problems when used with certain code bases. This adds some crucial optimizations that improve performance drastically.
This commit is contained in:
8
lang/interpret_test/TestAstFunc1/doubleinclude/main.mcl
Normal file
8
lang/interpret_test/TestAstFunc1/doubleinclude/main.mcl
Normal file
@@ -0,0 +1,8 @@
|
||||
include c1("t1")
|
||||
include c1("t2")
|
||||
class c1($a) {
|
||||
test $a {
|
||||
stringptr => $foo,
|
||||
}
|
||||
}
|
||||
$foo = "hey"
|
||||
Reference in New Issue
Block a user