You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can make the lexer not consider a dot part of a number when followed immediately by a letter. This makes 5.f, 10.f64, and similar invalid, but the dot is already redundant there anyway.
This allows us to do 10.some_method_name(). That'd be a relatively rare thing to write, but allowing it is nice, and it removes some kludgy code from the pretty-printer.
The text was updated successfully, but these errors were encountered:
We can make the lexer not consider a dot part of a number when followed immediately by a letter. This makes
5.f
,10.f64
, and similar invalid, but the dot is already redundant there anyway.This allows us to do
10.some_method_name()
. That'd be a relatively rare thing to write, but allowing it is nice, and it removes some kludgy code from the pretty-printer.The text was updated successfully, but these errors were encountered: