Skip to content
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

fixes #12820 #12828

Merged
merged 3 commits into from
Dec 9, 2019
Merged

fixes #12820 #12828

merged 3 commits into from
Dec 9, 2019

Conversation

cooldome
Copy link
Member

@cooldome cooldome commented Dec 6, 2019

No description provided.

@ghost
Copy link

ghost commented Dec 7, 2019

Doesn't seem to work for me 🤔
Also, the repro can be much simpler:

proc a(b: seq[int]) = 
  echo b

a(@[])

/home/dian/projects/nickel/ar.nim(4, 3) template/generic instantiation of `setLen` from here
/home/dian/.nim/lib/core/seqs.nim(126, 11) Error: invalid type: 'empty' in this context: 'ptr NimSeqV2[empty]' for var

@cooldome
Copy link
Member Author

cooldome commented Dec 9, 2019

Alternative fix attempted

@ghost
Copy link

ghost commented Dec 9, 2019

thanks a lot, that works for me! :shipit:

@Araq Araq merged commit 5929c3d into nim-lang:devel Dec 9, 2019
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

Successfully merging this pull request may close these issues.

2 participants