From b78ac2bb609cd6c5b88e44990f55c7dbeec08e25 Mon Sep 17 00:00:00 2001 From: Martin Kinkelin Date: Wed, 22 May 2019 22:28:50 +0200 Subject: [PATCH] Fixup lit-test codegen/assign_struct_init_without_stack.d An *inferred* `return` function attribute doesn't affect the mangled name anymore with 2.086 (dlang/dmd#9508). I haven't checked why it has been working before and only fails since advancing to DMD stable. --- tests/codegen/assign_struct_init_without_stack.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/codegen/assign_struct_init_without_stack.d b/tests/codegen/assign_struct_init_without_stack.d index 2e65a12b86..98dccac426 100644 --- a/tests/codegen/assign_struct_init_without_stack.d +++ b/tests/codegen/assign_struct_init_without_stack.d @@ -68,7 +68,7 @@ struct OpAssignStruct { float[10] data; ubyte a; - ref OpAssignStruct opAssign(R)(auto ref R rhs) { + ref OpAssignStruct opAssign(R)(auto ref R rhs) return { return this; } }