www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - compiler asserts

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


object.Error (0): Access Violation

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 

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