carp-lang / Carp

A statically typed lisp, without a GC, for real-time applications.
Apache License 2.0
5.47k stars 173 forks source link

memory management crash #1419

Open scolsen opened 2 years ago

scolsen commented 2 years ago
carp: You’re using a given-away value `(do (Result.Success (copy bytes*)))` at line 18, column 17 in '/file/src/byte-reader.carp'.

You’ll have to copy the value using `@`.
CallStack (from HasCallStack):
  error, called at src/Memory.hs:307:37 in CarpHask-0.5.4.0-JdeTIwgYM2SBeF4dr02mnA:Memory