dmd icon indicating copy to clipboard operation
dmd copied to clipboard

Remove D1 operators from the D2 language

Open ibuclaw opened this issue 3 years ago • 10 comments

D1 operators were deprecated in 2019-07.

ibuclaw avatar Jul 21 '21 18:07 ibuclaw

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"

dlang-bot avatar Jul 21 '21 18:07 dlang-bot

frontend.h needs to be updated.

RazvanN7 avatar Jul 30 '21 09:07 RazvanN7

frontend.h needs 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.

ibuclaw avatar Jul 30 '21 11:07 ibuclaw

-1022 . Sweet!

-749 ;-)

ibuclaw avatar Jul 30 '21 11:07 ibuclaw

I've merged https://github.com/jacob-carlborg/dstep/pull/272.

jacob-carlborg avatar Jul 31 '21 06:07 jacob-carlborg

I've merged jacob-carlborg/dstep#272.

Thanks Jacob, any chance of a release?

ibuclaw avatar Aug 16 '21 15:08 ibuclaw

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.

jacob-carlborg avatar Aug 16 '21 17:08 jacob-carlborg

Partially superseded by #13671. Though this PR does the ->gone bit of the deprecation process.

ibuclaw avatar Feb 16 '22 22:02 ibuclaw

Ping @ibuclaw

ljmf00 avatar Mar 27 '22 19:03 ljmf00

The error is supposed to stay in a few DMD releases before the code gets removed completely.

dkorpel avatar Mar 27 '22 19:03 dkorpel