Hisham Muhammad

Results 642 comments of Hisham Muhammad

I am a bit reluctant about the concept of maprecords for two reasons: #### 1. Conflicts between record fields and maps keys of {string:X} Mixing records with maps-of-string-keys can be...

Hi! You do have a point. At least with the current behavior you do get an compile-time error when you try to use the value "inconsistently"... It took me a...

Hi! Thanks for looking at Teal :) @fperrad has also asked for this recently, and even sent a PR... At the time, I declined having this behavior be automatic, and...

@creationix Thanks again for the feedback. I think a way out of this conundrum (and similar ones in general) will be to introduce compiler flags not only at the CLI...

see https://github.com/teal-language/tl/discussions/751

@bjornbm Yeah, I noticed that mistake recently. My original intention was to provide those masks as a convenience for speedy processing of the `tl types` output for whatever code analysis...

One first approach towards this issue we can do now (prior to reworking the numbers to make them more consistent) would be to drop those incorrect and unused mask entries...

@ggoraa thanks for the suggestion -- this looks equivalent to type variables in interfaces, which are another way of declaring type parameters. Using type variables, as in `local interface View`,...

I have restrained myself from making purely cosmetic changes/additions to the "Lua parts of the language" so far, and I don't have immediate plans to change this. But if I...

@locao Indeed, thanks! Given those tips serve as a usable alternative, I think we can retire this PR!