-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
If I use unnamed splats to make the remaining parameters require explicit naming the @[Logit::Log] annotation explodes. I think it might be a Crystal core issue with method.args.splat producing incorrect output, but I'm not 100% certain about that. Reporting that here for now...
Code:
def method(a, *, b)
# ...
endError:
There was a problem expanding macro 'finished'
Code in lib/logit/src/logit/global_finished.cr:7:1
7 | macro finished
^
Called macro defined in lib/logit/src/logit/global_finished.cr:7:1
7 | macro finished
Which expanded to:
> 43849 | class VFS::FileProxy
> 43850 |
> 43851 | def method(a, , b)
^
Error: unexpected token: ","
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels