ice icon indicating copy to clipboard operation
ice copied to clipboard

Warnings for Invalid Metadata are Reported on Incorrect Lines

Open InsertCreativityHere opened this issue 1 year ago • 0 comments

I was fixing some of our errorDetection tests and noticed that the line number are off. For example, take WarningInvalidMetaData.ice

In the source we have: https://github.com/zeroc-ice/ice/blob/60c41eab191ebdc522ac402ff4e0ec96f3c9351a/cpp/test/Slice/errorDetection/WarningInvalidMetaData.ice#L55-L59 But in the expected errors: https://github.com/zeroc-ice/ice/blob/60c41eab191ebdc522ac402ff4e0ec96f3c9351a/cpp/test/Slice/errorDetection/WarningInvalidMetaData.err#L18-L20

You will notice that 56 != 58.

InsertCreativityHere avatar Apr 03 '24 19:04 InsertCreativityHere