Maybee Rezbit
Maybee Rezbit
> Why requiring the use of `Context.getDecoratorSubject()` instead of getting it as argument? This was actually my original idea. Instead of `@:metadata`, you could have metadata functions work as static...
That fair. 🤔 > something like `e.meta.author.name` I like this a lot. I'll try and incorporate something like this into the proposal in a bit. `meta` already field on TypeDefinition/Field/etc,...
Updated proposal: * [Reworked](https://github.com/RobertBorghese/haxe-evolution/blob/typed-metadata/proposals/0000-typed-metadata.md#untyped-metadata) untyped metadata section. Untyped metadata will only throw error if the module uses any typed metadata. * [Removed](https://github.com/RobertBorghese/haxe-evolution/blob/typed-metadata/proposals/0000-typed-metadata.md#reading-arguments) `MetadataEntryTools`, use `typedMeta: StringMap` on AST structures to...
For the record, I favor the `@.` syntax. The reason it's not being proposed is because I'm trying to base this off the most 👍'ed comment on the previous proposal....
Could you clarify what you mean? Do you mean a [Kotlin-like feature](https://kotlinlang.org/docs/lambdas.html#passing-trailing-lambdas) of allowing trailing blocks to be treated as lambdas that are passed as the final argument to a...
As a syntax-sugar lover I would certainly not be opposed to it, and I mentioned trailing lambdas in the "Unresolved Questions" section because I want it to be a part...
Oh niiiice!! Thank you for this! Yeahhh, polymorphism seems to be a pretty nice/powerful solution in these types of languages. And since things are stored and casted using sub-classes, C#...
HOOOLY MOLY, I didn't even know this was possible. Hmmm, I'd need to investigate this more, but it's definitely something I'd like to implement within Reflaxe so it can be...
Alterantively, we should consider: removing the default argument from the C# output (make non of the arguments default), then whenever the function is called, we just inject the default argument...
Added a couple functions in Reflaxe to help. This provides all the possible variations of arguments. Checked to make sure it works, but not tested thoroughly. ```haxe // Find all...