Skip to content

Add support for binary and octal integer literal, throw errors when integer consts overflow

Zhou Qiankang requested to merge wszqkzqk/vala:add_bin_digits into main
var a = 0b10101010101;
var b = 0o1234567; // The same as `01234567` but clearer
var c = 0o644u;
var d = -0o755ll;

See also !263#note_1598114.

Edited by Zhou Qiankang

Merge request reports

Loading