We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
nkRecWhen
SIGSEGV
method call syntax in nkRecWhen condition gives SIGSEGV
I noticed this while working on #14709
when true: #[ SIGSEGV: Illegal storage access. (Attempt to read from nil?) ]# type Foo[T] = object x1: int when T.sizeof == 4: discard # SIGSEGV # when sizeof(T) == 4: discard # ok let t = Foo[float](x1: 1)
works
devel ff93302 1.3.5
The text was updated successfully, but these errors were encountered:
closes #14710; adds a test case
fdcce5e
closes #14710; adds a test case (#23277)
3550c90
closes #14710
ringabout
Successfully merging a pull request may close this issue.
method call syntax in
nkRecWhen
condition givesSIGSEGV
I noticed this while working on #14709
Example
Current Output
Expected Output
works
Additional Information
devel ff93302 1.3.5
The text was updated successfully, but these errors were encountered: