digitalmars.D.learn - compiler asserts
- Josphe Brigmo (23/23) Sep 07 2018 import std.stdio, std.variant;
import std.stdio, std.variant; class Wrapper(Interface, Wrapped) : Interface { import std.traits; Wrapped wrapped; static foreach (member; __traits(allMembers, Interface)) { } } void main() { } when I try to compile this v2.080.0 object.Error (0): Access Violation ---------------- 0x00415999 0x0040A3B7 Seems to work fine online so maybe this is an issue with the dmd version? Seems like it shouldn't crash though, nothing is being done. Updated to latest 2.082 and it was fixed... so I'll post anyways for anyone else that might have this issue.
Sep 07 2018