Skip to content

Assert Failure: 0 Unknown slicable type #124

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

Closed
brokenbeta opened this issue Oct 15, 2017 · 0 comments
Closed

Assert Failure: 0 Unknown slicable type #124

brokenbeta opened this issue Oct 15, 2017 · 0 comments

Comments

@brokenbeta
Copy link

The following code:

import "core:fmt.odin"

Splat :: [] int;

main :: proc()
{
    value: Splat = Splat { 3, 4, 5 };
    ptr := &value;

    fmt.println(ptr[0..1]);
}

triggers the following assert:

d:\development\odin\src\ir.cpp(5534): Assert Failure: `0` Unknown slicable type
gingerBill added a commit that referenced this issue Oct 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants