issues Search Results · repo:nim-lang/Nim GetUniqueType
Filter by
0 results
(124 ms)0 results
innim-lang/Nim (press backspace or delete to remove)let foo = (int, (1, 2, 3))
when compiled will output:
Error: internal error: getUniqueType
Traceback (most recent call last)
nim.nim(97) nim
nim.nim(61) handleCmdLine ...
Compiler Crash
Error Messages
Wh1teDuke
- 2
- Opened on Aug 14, 2015
- #3211
... : getUniqueType
Edit:
if you remove the var part, it compiles.
type
MyConcept = concept x
someProc(x)
SomeSeq = seq[MyConcept]
# compiles
Concepts
Error Messages
Medium Priority
Type Sections
hakanderyal
- 9
- Opened on Apr 11, 2015
- #2519
The following line of code causes a crash on the latest from devel branch:
var x: seq[object] = @[]
Stack trace:
var x: seq[object] = @[]
Error: internal error: getUniqueType
Traceback (most ...
Compiler Crash
Error Messages
Semantic Analysis
jyapayne
- 6
- Opened on Jul 6, 2015
- #3069
... : internal error: getUniqueType
Traceback (most recent call last)
nim.nim(94) nim
nim.nim(56) handleCmdLine
main.nim(252) mainCommand
main.nim(63 ...
Compiler Crash
Error Messages
Medium Priority
def-
- 3
- Opened on Apr 27, 2015
- #2615
proc foo(bar: varargs[int | bool]) = discard When compiled will crash with this message:
Error: internal error: getUniqueType
Traceback (most recent call last)
nim.nim(97) nim
nim.nim ...
Compiler Crash
Error Messages
Semantic Analysis
Wh1teDuke
- 2
- Opened on Jul 15, 2015
- #3122
... (576) getTypeDescAux
ccgtypes.nim(533) getTypeDescAux
ccgutils.nim(105) getUniqueType
msgs.nim(996) internalError
msgs.nim(901) rawMessage
msgs.nim(898 ...
Compiler Crash
Low Priority
Semantic Analysis
Wh1teDuke
- 2
- Opened on Mar 8, 2016
- #3955
The following code crashes the compiler:
var i = 10
echo(repr(type(i)))
The stack trace is:
Error: internal error: GetUniqueType
Traceback (most recent call last)
nimrod.nim(91) nimrod ...
Low Priority
Semantic Analysis
gradha
- Opened on Apr 25, 2014
- #1146
... yield from T.name
Base.pr
Child.pr
for s in Base.it: echo s
for s in Child.it: echo s # - internal error: getUniqueType
Commenting out last line makes everything work well, so the bug applies ...
nanoant
- Opened on May 6, 2015
- #2662
I made a typo using = instead of : in var declaration. It resulted in compiler crash:
Error: internal error: GetUniqueType
No stack traceback available
The shortest way to reproduce:
var bug = int
endragor
- 1
- Opened on Apr 4, 2015
- #2456
... ) getUniqueType
ccgutils.nim(110) getUniqueType
types.nim(954) sameBackendType
types.nim(939) sameTypeAux
types.nim(846) sameChildrenAux
types.nim(678) sameTypeOrNilAux
types.nim(798) sameTypeAux
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
Generics
Medium Priority
Semantic Analysis
Type Sections
dom96
- 3
- Opened on Aug 18, 2014
- #1493

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.