dmd
dmd copied to clipboard
Remove D1 operators from the D2 language
D1 operators were deprecated in 2019-07.
Thanks for your pull request, @ibuclaw!
Bugzilla references
Your PR doesn't reference any Bugzilla issue.
If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.
Testing this PR locally
If you don't have a local development environment setup, you can use Digger to test this PR:
dub run digger -- build "master + dmd#12902"
frontend.h needs to be updated.
frontend.hneeds to be updated.
That is the least of all concerns.
../.dub/packages/hyphenate-1.1.2/hyphenate/src/hyphenate.d(280,26): Error: incompatible types for `(c) in ((*p).elems)`: `dchar` and `const(Table)`
hyphenate 1.1.2 was released 3 years, probably hasn't changed since then.
dstep/translator/Enum.d(264,5): Error: incompatible types for `(output.subscopeStrong(cursor.extent(), "%s", spelling)) in (__lambda7)`: `Indent` and `void delegate() @system`
tests/unit/OutputUnitTests.d(252,5): Error: incompatible types for `(outputN.subscopeWeak("if (true)")) in (__lambda5)`: `Indent` and `void delegate() @system`
FYI @jacob-carlborg.
-1022 . Sweet!
-749 ;-)
I've merged https://github.com/jacob-carlborg/dstep/pull/272.
Thanks Jacob, any chance of a release?
Sorry, forgot about that. https://github.com/jacob-carlborg/dstep/releases/tag/v1.0.3 is available now.
Partially superseded by #13671. Though this PR does the ->gone bit of the deprecation process.
Ping @ibuclaw
The error is supposed to stay in a few DMD releases before the code gets removed completely.