Commit 13e3686
committed
Force reinterpret-cast to reverse the cast in FunctionDefinition.semantic.
With LDC 1.42.0, the direct cast from Statement to FunctionDefintion returns null, causing a segmentation fault later on. Casting to void* first forces a reinterpret cast and is symmetric with the code in FunctionDefinition.semantic().1 parent f93cb97 commit 13e3686
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
| 611 | + | |
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
| |||
0 commit comments