Created
May 6, 2019 10:55
-
-
Save noonien/5c37a8ca49f05e4568d1fc6c14cf75e5 to your computer and use it in GitHub Desktop.
nim import fail 1
This file contains hidden or 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
# if the imports are reversed, it works | |
import c | |
import b | |
echo Foo(3) |
This file contains hidden or 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
import c | |
proc Foo*(x: int): Foo = discard |
This file contains hidden or 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
type Foo* = array[16, byte] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment