attempt to write basicNew
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
class Apex {
|
||||
fun basicNew(size) {
|
||||
return (core.basic_new self size)
|
||||
}
|
||||
}
|
||||
|
||||
class Object :: Apex {
|
||||
@ -14,6 +17,9 @@ class FixedSizedCollection :: IndexedCollection {
|
||||
}
|
||||
|
||||
class Array :: FixedSizedCollection {
|
||||
fun :: new(size) {
|
||||
return (core.basic_new self size)
|
||||
}
|
||||
}
|
||||
|
||||
class String :: FixedSizedCollection {
|
||||
|
Reference in New Issue
Block a user