RblSb
RblSb
Null coalescing logic has not been updated in release branch: ```haxe @:using(Main.MoneyTools) typedef Money = Int; class MoneyTools { public static function inflate(money:Money):Money { return money + 99; } }...
I think this is about commits from https://github.com/HaxeFoundation/haxe/issues/11425
Can be related to https://github.com/HaxeFoundation/haxe/issues/10511
Is this possible to think about some meta to allow writing of `EitherType` syntax too? (offtopic, but also part of readability problem, i think)
Little more context: `MissingFieldDiagnostics` now returns `type : {kind : TMono}` instead of abstract around `Int`. Can be viewed with `trace(fields)` around here https://github.com/vshaxe/haxe-language-server/blob/0f3418b7725d48e053c53b805b51f58ce372378f/src/haxeLanguageServer/features/haxe/codeAction/diagnostics/MissingFieldsActions.hx#L130
I hope this regression will be fixed for the next release, at the moment this useful ide feature is broken in dev builds. Would like to migrate to dev since...
I like `new final foo:Float`, this is less flexible, so you cannot change order of fields independent of argument order, but at the other side arguments order is easier to...
`lerp` is probably out of Math context, doesn't exist in other langs in Math classes? And while i prefer (t, a, b) args order, this is a less popular variation...
Currently `object1?.object2?.myFunction()` should work if `myFunction` is non-nullable in `object2` (just a reminder). Nullable array access is a more common case, i guess. `??=` is already implemented with null coalescing...
For example, Dart also doesn't have `?(`/`?[` syntaxes and uses `fn?.call()` or `arr?.get(0)` / `set()` methods. This is already can be implemented for arrays in user static extensions, doesn't look...