More work on grammer and standard library! It can kinda load grammer now! Kinda. Marcus ran into the function pointer returns pointer ambiguity, so that'll have to be done tomorrow.
This commit is contained in:
@@ -60,6 +60,10 @@ obj vector<T> (Object) {
|
||||
return newVec
|
||||
}
|
||||
|
||||
fun operator+=(other: T):void {
|
||||
addEnd(other)
|
||||
}
|
||||
|
||||
fun operator+=(other:vector<T>):void {
|
||||
for (var i = 0; i < other.size; i++;)
|
||||
addEnd(other.get(i))
|
||||
|
||||
Reference in New Issue
Block a user