alias T = ref int; void f(T not_a_ref_arg); This is invalid, but it compiles and gives the user no indication that it's mal-formed...
@thewilsonator updated dlang/dmd pull request #10018 "Fix Issue 19277 - storage class used in alias statement has no effect" fixing this issue: - Fix Issue 19277 - storage class used in alias statement has no effect https://github.com/dlang/dmd/pull/10018
dlang/dmd pull request #10018 "Fix Issue 19277 - storage class used in alias statement has no effect" was merged into master: - 629be0860a9c248ed120a23c2a984960c288a624 by Nicholas Lindsay Wilson: Fix Issue 19277 - storage class used in alias statement has no effect Co-authored-by: MoonlightSentinel <moonlightsentinel@disroot.org> https://github.com/dlang/dmd/pull/10018