Problem
The number lexer ignores underscores throughout a decimal literal. This accepts forms such as 1.0_0, although separators after the decimal point are likely unintended.
Desired outcome
Reject or otherwise explicitly define separators in the fractional part, with regression tests.
Location
ndc_lexer/src/number.rs, lex_number.
Problem
The number lexer ignores underscores throughout a decimal literal. This accepts forms such as
1.0_0, although separators after the decimal point are likely unintended.Desired outcome
Reject or otherwise explicitly define separators in the fractional part, with regression tests.
Location
ndc_lexer/src/number.rs,lex_number.