Closed aisk closed 10 months ago
How about this? You need self.
to be called as Foo.bar
(same as Ruby.)
module Foo
def self.bar() -> String
"foobar"
end
end
Sorry, I'm not familiar with Ruby before, it worked now with your corrected version of codes.
Add a test .sk file:
Also includes it in
index.sk
. Then calling it like:Then got the shiika compile error: