shiika
shiika copied to clipboard
MutableString should inherit String
class MutableString : String
Hmm, this seems to be wrong. When you write def foo(s: String)
, you are expecting s
to never be changed.
So inheriting String is wrong; It should use something like Ruby's Module.