Created attachment 1120
repro case
In the attached repro case the @disable this() in bar2 prevents bar1 from being
initialized even though bar1 is not using bar2 directly. bar1 is only holding a
reference to a class which uses bar2.
Also the error message is really strange as it points to a line in the
sourcecode where there should not be any initialization as the struct is return
via reference.
Tested with dmd 2.058 & 2.059 on windows