attempt to write basicNew
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-08-03 10:40:44 +09:00
parent bad79feacb
commit a86088045d
2 changed files with 45 additions and 8 deletions

View File

@ -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 {