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
For an immediate workaround, use a cstring. I will update the type checker to show an error for unsupported types.
It might be possible to support some heap types like string and seq as part of objects without degrading performance but I haven't had any great ideas so far.
Following code:
runs without error.
But in next run (without resetting value) when you try read
db[1]
program crashes with SIGSEGV.Some remarks:
Foo.a
is empty string works;string
andseq[string]
as db value works.Also for
Foo
as key there is another error. It doesn't compile because there are nocompare
procedure forstring, string
.Nim version 1.6.12 and devel, no matter of
--mm
is refc or arc/orc.The text was updated successfully, but these errors were encountered: