-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
openArray views in VM and js give errors #16306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
toOpenArray
in VM: cannot generate code for: mSlicetoOpenArray
in VM: cannot generate code for: mSlice
toOpenArray
in VM: cannot generate code for: mSlicetoOpenArray
in VM: cannot generate code for: mSlice
toOpenArray
in VM: cannot generate code for: mSlicetoOpenArray
in VM: cannot generate code for: mSlice
toOpenArray
in VM: cannot generate code for: mSlice
fixed by #21440 |
capocasa
pushed a commit
to capocasa/Nim
that referenced
this issue
Mar 31, 2023
…im-lang#16306 (nim-lang#20610) closes nim-lang#19969; add testcase
bung87
pushed a commit
to bung87/Nim
that referenced
this issue
Jul 29, 2023
…im-lang#16306 (nim-lang#20610) closes nim-lang#19969; add testcase
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
--experimental:views
don't seem to work well with VM and js:toOpenArray
errors in VM, while using it in js as below gives:Error: internal error: genTypeInfo(tyOpenArray)
Example 1: vm
Current Output
Error: cannot generate code for: mSlice
Expected Output
works
Example 2: js
nim r -b:js main
Error: internal error: genTypeInfo(tyOpenArray)
Possible Solution
see proposal in #16305 (comment)
related: #15952
Additional Information
The text was updated successfully, but these errors were encountered: