Improve @__future deprecation message (#16447)

Show location of base method.
Remove duplicate content in compilable/future.d.
This commit is contained in:
Nick Treleaven 2024-05-08 08:11:38 +01:00 committed by GitHub
parent 5eb71e950e
commit b5ddf51ea8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 49 deletions

View file

@ -1,7 +1,8 @@
/* PERMUTE_ARGS:
TEST_OUTPUT:
---
runnable/future.d(15): Deprecation: `@__future` base class method `future.A.msg` is being overridden by `future.B.msg`; rename the latter
runnable/future.d(16): Deprecation: method `future.B.msg` implicitly overrides `@__future` base class method; rename the former
runnable/future.d(11): base method `future.A.msg` defined here
---
*/