Bugfix - properly use old enclosing_object to interpret parameters to method, use new_enclosing_object for interpreting the actual function itself

This commit is contained in:
Nathan Braswell
2016-05-22 12:17:17 -07:00
parent c239f8acb1
commit a64e79c789
2 changed files with 4 additions and 8 deletions

View File

@@ -172,8 +172,6 @@ obj string (Object, Serializable) {
}
fun operator+(str: ref string): string {
/*var newStr.construct(str):string*/
/*var ret.construct(data + newStr.data):string*/
var ret.construct(data + str.data):string
return ret
}