blueprint-compiler/tests/samples/numbers.blp
James Westman 883a136103 Fix parsing decimals
A number literal is a float if it contains ".", not if it is divisible
by 1. For example, 1.0 should be considered a float literal.
2023-07-20 19:25:25 -05:00

8 lines
108 B
Text

using Gtk 4.0;
Gtk.Label {
xalign: .5;
yalign: 0.0;
height-request: 1_000_000;
margin-top: 0x30;
}