Conversation
Fixes issue 12233 - Attempting to use TypeInfo.init results in a compiler error due to lack of 'this'.
|
schveiguy
left a comment
There was a problem hiding this comment.
LGTM. Not sure how the changelog works, but I wouldn't have expected you to have to delete the old changelog entry.
|
Looks like |
Yeah ideally all changelog should be removed with every new major release.. |
The only failure I can find in the logs is this: fail_compilation/ice15441.d doesn't seem to do anything with
That should have happened when 2.074 was branched off, right? Looks like it was overlooked. To be clear, I'm aiming for 2.075 here. |
Hm... that seems kind of brittle. One thing we can do is move the unit test elsewhere, and then move it back when the fragility of the dmd tests can be addressed (create a bug report, I would say). Another option is to move the unit test items into an already existing block, but I'm not 100% sure that will fix it, not sure what that numbering scheme comes from. |
|
Turns out dmd's d_do_test has a mechanism to avoid hard-coding generated numbers in expected error messages. PR to use it: dlang/dmd#6684 |
That PR has been merged. Auto-tester is turning green now. |
Nice! |
TypeInfo_Class.init is deprecated and removed from the runtime (since .init clashes with the type property of the same name). This uses `initializer()` method which is the new way of accessing the same thing in D2. dlang/druntime#1403 dlang/druntime#1766 dlang/druntime#1807 https://issues.dlang.org/show_bug.cgi?id=15037 https://issues.dlang.org/show_bug.cgi?id=12233
TypeInfo_Class.init is deprecated and removed from the runtime (since .init clashes with the type property of the same name). This uses `initializer()` method which is the new way of accessing the same thing in D2. dlang/druntime#1403 dlang/druntime#1766 dlang/druntime#1807 https://issues.dlang.org/show_bug.cgi?id=15037 https://issues.dlang.org/show_bug.cgi?id=12233
as planned