-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
Runtime error on synchronized(typeid(SomeInterface)) { } #1377
Comments
|
Related DMD PR: dlang/dmd#5564 |
|
@puneet On my Mac with LLVM3.9, I can't get it to segfault. Can you give some more details? |
|
$ ldc2 -v void main() Program received signal SIGSEGV, Segmentation fault. |
|
$ uname -a |
|
See #1358 (comment) |
…with DMD. Fixes issue ldc-developers#1377.
|
Fixed in all branches. |
Reduced testcase. Compiles with dmd. Tested with LDC master and merge-2.070. Both compile a binary that segfault when executed. synchronized(typeid(SomeClass)) { } works as expected.
// reduced testcase
interface Foo { }
void main() {
synchronized(typeid(Foo)) { }
}
The text was updated successfully, but these errors were encountered: