Commit graph

3 commits

Author SHA1 Message Date
mhh
e3eccfe9a5 Fix Issue 24088 - Nested functions using the shortened syntax were not recognized correctly as declarations.
The fix was simply to amend `isDeclarator` to look for TOK.goesTo (i.e. `=>`)
2023-08-17 12:33:04 +02:00
mhh
81f5c8b354 Enable shortened methods by default
The preview flag will still work but will print a deprecation message
2022-10-11 01:41:29 +09:00
Iain Buclaw
6374bb87b7 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
Renamed from test/compilable/shortened_methods.d (Browse further)