Skip to content

Suffix on integer literals can enforce the type #123

@philberty

Description

@philberty

For example:

let b1 = 1i8;
let b2 = 2i16;
let b3 = 3i32;
let b4 = 4i64;
let b5 = 5i128;

Without the type the name will resolve of i32 by default.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions