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
typeObjSeq=object
s: seq[int]
let oseq =ObjSeq() # <-- nimsuggest crashes
This is really bad because many object contains string or seq. For example any function that raises an exception crashes nimsuggest because the Exception contains msg: string
Nim Version
Nim Compiler Version 2.1.9 [Linux: amd64]
Compiled at 2024-07-20
Copyright (c) 2006-2024 by Andreas Rumpf
git hash: 31ee75f
active boot switches: -d:release
Description
nimsuggest crashes when using
--mm:arc/orc
and if an object that containsstring
orseq
is constructed.This is really bad because many object contains
string
orseq
. For example any function that raises an exception crashes nimsuggest because theException
containsmsg: string
Nim Version
Nim Compiler Version 2.1.9 [Linux: amd64]
Compiled at 2024-07-20
Copyright (c) 2006-2024 by Andreas Rumpf
git hash: 31ee75f
active boot switches: -d:release
Current Output
Expected Output
Possible Solution
No response
Additional Information
The crash happens here:
Nim/compiler/liftdestructors.nim
Lines 991 to 1010 in 31ee75f
In the function
useSeqOrStrOp
:Nim/compiler/liftdestructors.nim
Lines 638 to 640 in 31ee75f
The text was updated successfully, but these errors were encountered: