Open function in a non-open class

109 Views Asked by At

Does it even make sense?
We will not have a chance to override an open function in a class which can't be subclassed (by the way, by default class is internal, not public, right?)
If it doesn't make sense, why doesn't Xcode show any warnings?

0

There are 0 best solutions below