Allow copy_constructers to be called with other types (i.e. var a:string = "hi" calls fun copy_construct(it:char**):void

This commit is contained in:
Nathan Braswell
2015-06-07 19:54:08 -04:00
parent 7abab02fbf
commit 69048ebc31
4 changed files with 16 additions and 6 deletions

View File

@@ -10,9 +10,9 @@ fun main(): int {
io::println(str + "2");
str += " with additional"
io::println(str);
//var initilized:string::string = "hope"
//io::println(initilized)
//io::println(initilized+ "3")
var initilized:string::string = "hope"
io::println(initilized)
io::println(initilized+ "3")
return 0;
}