Lexer: check that integer literals fit their type. Also: deduce their type to...
Lexer: check that integer literals fit their type. Also: deduce their type to Int32, Int64 or UInt64 depending on their value.
Showing
- CHANGELOG.md 5 additions, 0 deletionsCHANGELOG.md
- spec/compiler/lexer/lexer_spec.cr 42 additions, 0 deletionsspec/compiler/lexer/lexer_spec.cr
- spec/std/string_spec.cr 4 additions, 0 deletionsspec/std/string_spec.cr
- src/compiler/crystal/codegen.cr 15 additions, 7 deletionssrc/compiler/crystal/codegen.cr
- src/compiler/crystal/exception.cr 5 additions, 1 deletionsrc/compiler/crystal/exception.cr
- src/compiler/crystal/lexer.cr 130 additions, 5 deletionssrc/compiler/crystal/lexer.cr
- src/string.cr 2 additions, 1 deletionsrc/string.cr
Please register or sign in to comment