theangryepicbanana
theangryepicbanana
This appears to be a lexer issue. `second quote o/:` appears to return a `set-word!` rather than a normal `word!`. After testing a bit, it seems like this only happens...
Just to note, this code also crashes for a similar reason: ```red o: make object! [ f: does [self] ] context? first body-of :o/f ```
Couldn't help but mention this, but I already did a while back. It could probably be improved upon (due to a dumb decision made by the person who merged my...
Oh yeah this also implements #9303 as an added bonus
@Simn It unfortunately has a linear cost on Lua and Flash, however there's no way around it (other than to keep track of the size manually) because the languages themselves...
To be fair, it's not really a hidden cost because you'd have to do it in Lua/Flash anyways (in other words, it's already a common pattern). Re: GitHub, idek
Well it _is_ a property (or native method) on all other targets, which is why I added it as one. I suppose it can be changed to a method if...
@back2dos Noted, will change.
@jdonaldson What would you suggest then? \> Should the compiler throw an error/warning if the method is called multiple times without the map being modified? \> Should defineFeature/ifFeature magic be...
I personally think people would find it helpful to get the size of the map if they want to do things like: - check if the map is empty -...