You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hint: used config file '/usr/local/Cellar/nim/1.4.8/nim/config/nim.cfg' [Conf]
Hint: used config file '/usr/local/Cellar/nim/1.4.8/nim/config/config.nims' [Conf]
....
/Users/scolburn/two_numbers.nim(4, 17) template/generic instantiation of `two_numbers` from here
/Users/scolburn/two_numbers.nim(2, 10) Error: no tuple type for constructor
I was unable to compile nim from git head to test with that, sorry.
proctwo_numbers(): tuple=let x = (1,2)
return x
echotwo_numbers()
$ nim -v
Nim Compiler Version 1.4.8 [MacOSX: amd64]
Compiled at 2021-05-25
Copyright (c) 2006-2021 by Andreas Rumpf
active boot switches: -d:release -d:nimUseLinenoise
The text was updated successfully, but these errors were encountered:
Returning a tuple literal or a constructed tuple from a proc gives
Error: no tuple type for constructor
at compile time.Example
Current Output
I was unable to compile nim from git head to test with that, sorry.
Expected Output
Possible Solution
Unknown; I'm a Nim beginner.
Additional Information
Workarounds for now:
The text was updated successfully, but these errors were encountered: