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

$ For array crashes the compiler when assigned to const #4040

Closed
Wh1teDuke opened this issue Apr 4, 2016 · 0 comments
Closed

$ For array crashes the compiler when assigned to const #4040

Wh1teDuke opened this issue Apr 4, 2016 · 0 comments

Comments

@Wh1teDuke
Copy link
Contributor

Test

const
  a: array[3, char] = ['N', 'i', 'm']
  aStr = $(a)

Result: Error: internal error: getStrOrChar


> nim -v
Nim Compiler Version 0.13.1 (2016-04-04) [Windows: i386]
Copyright (c) 2006-2016 by Andreas Rumpf

git hash: 147961d0069ed434796eed9ceacf52914087f789
active boot switches: -d:release
refi64 added a commit to refi64/Nim that referenced this issue May 4, 2016
@Araq Araq closed this as completed in 38040e7 May 11, 2016
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

1 participant