-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
openArray views in VM and js give errors #16306
Labels
Comments
timotheecour
changed the title
[experimental:views] can't use
[views] can't use Dec 9, 2020
toOpenArray
in VM: cannot generate code for: mSlicetoOpenArray
in VM: cannot generate code for: mSlice
timotheecour
changed the title
[views] can't use
can't use Dec 9, 2020
toOpenArray
in VM: cannot generate code for: mSlicetoOpenArray
in VM: cannot generate code for: mSlice
timotheecour
changed the title
can't use
views: can't use Dec 10, 2020
toOpenArray
in VM: cannot generate code for: mSlicetoOpenArray
in VM: cannot generate code for: mSlice
timotheecour
changed the title
views: can't use
openArray views in VM and js give errors
Dec 10, 2020
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
--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: