Code: Select all
class c {
p {
get {
return 42
}
}
}
MsgBox % {base: c}.p()
It's been a while since 1.1.16.01, I assume this is intended behavior, but why?
Code: Select all
class c {
p {
get {
return 42
}
}
}
MsgBox % {base: c}.p()
Properties defined within a class no longer handle call (by calling the property getter). That is, obj.MyProperty() throws an exception unless a method with that name exists (it may be defined in a base class of the one which defined the property).
Users browsing this forum: No registered users and 59 guests