-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
found bug when using columns twice in nimislides
- Loading branch information
1 parent
f314431
commit 37f6b10
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import nimib, nimislides | ||
|
||
nbInit(theme = revealTheme) | ||
slide: | ||
columns: | ||
column: | ||
nbText: "Left Column" | ||
column: | ||
nbText: "Right Column" | ||
const showError = true | ||
when showError: | ||
slide: | ||
columns: | ||
column: # compile error here | ||
nbText: "Left Column" | ||
column: | ||
nbText: "Right Column" | ||
#[ | ||
Error: ambiguous call; both columns_twice.column(bodyInner`gensym13: untyped) | ||
[template declared in /Users/pietroppeter/nimib-reveal/src/nimiSlides.nim(482, 12)] | ||
and columns_twice.column(bodyInner`gensym63: untyped) | ||
[template declared in /Users/pietroppeter/nimib-reveal/src/nimiSlides.nim(482, 12)] | ||
match for: () | ||
]# | ||
nbSave |