Verbatim identifiers do not work with RequiredArgsConstructor
gizmo71 opened this issue · 1 comments
gizmo71 commented
Code such as:
[RequiredArgsConstructor]
public partial class BeaconLight
{
private readonly BeaconLightSetEvent @event;
generates a constructor public BeaconLight(BeaconLightSetEvent new@event)
which doesn't compile. The verbatim prefix @
needs to be at the start of the identifier, i.e. public BeaconLight(BeaconLightSetEvent @newevent)
.
Environment info
- Lombok.NET version: 2.1.2
Very probably affects other functionality.
CollinAlpert commented
Fixed in version 2.1.3.