ziglings/patches/patches/036_enums2.patch
2021-06-14 11:52:22 -04:00

12 lines
307 B
Diff

34c34
< blue = ???,
---
> blue = 0x0000ff,
56c56
< \\ <span style="color: #{}">Blue</span>
---
> \\ <span style="color: #{x:0>6}">Blue</span>
62c62
< @enumToInt(???), // Oops! We're missing something!
---
> @enumToInt(Color.blue), // Oops! We're missing something!