ziglings/patches/patches/036_enums2.patch

13 lines
307 B
Diff
Raw Normal View History

2021-06-14 11:52:22 -04:00
34c34
2021-02-15 17:13:55 -05:00
< blue = ???,
---
> blue = 0x0000ff,
2021-06-14 11:52:22 -04:00
56c56
2021-02-15 17:13:55 -05:00
< \\ <span style="color: #{}">Blue</span>
---
> \\ <span style="color: #{x:0>6}">Blue</span>
2021-06-14 11:52:22 -04:00
62c62
2021-02-15 17:13:55 -05:00
< @enumToInt(???), // Oops! We're missing something!
---
> @enumToInt(Color.blue), // Oops! We're missing something!