Skip to content

Commit 69d4818

Browse files
committed
fix nim 2.2.0 compile issue
1 parent ebfb904 commit 69d4818

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
nimversion:
12-
- '2.0.x'
12+
- '2.x'
1313

1414
os:
1515
- ubuntu-latest

tests/tminimal.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ proc draw*(self: Main) {.slot.} =
2626
box 10'pp, 10'pp, 80'pp, 10'pp
2727
fill css"#2B9FEA"
2828

29-
button[void] "btn":
29+
Button[int].new "btn":
3030
with node:
3131
box 10'pp, 60'pp, 80'pp, 10'pp
3232
fill css"#2B9FEA"

0 commit comments

Comments
 (0)