|
Changes:
* added check of returntype and argument types when redefining a method
* fixed bug in Binop: replaced !(t1.isSubtype(t2)||t2.isSubtype(t1)) with t1.lub(t2) match { }
* added check of returntype of if/else blocks
* fixed _string function in Parser.scala (TODO: check this)
* fixed lub(): added NullType, NullType => NullType
|
|---|
|
|
| sources/zweic/Analyzer.scala |
|---|
| sources/zweic/Parser.scala |
|---|
| sources/zweic/Type.scala |
|---|