lua-users home
lua-l archive

Re: Why not allow local s = "abc":reverse()

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


* CHU Run-min:
> local s = ("abc"):reverse() VALID
> local s = "abc":reverse() INVALID
> Why?
"." doesn't work in this context, either. Same for tables. Based on
Fabien's observation, I think all this is the correct behavior.

AltStyle によって変換されたページ (->オリジナル) /