mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00

This brings the following changes: - Improves the existing template `_d_arraycatnTX`, to now concatenates both arrays and single elements - Changes the lowerings to `_d_arraycatT` to use the new template - Moves the lowering logic to `_d_arraycatnTX` to expressionsem.d - Adds a new field to `CatExp` called `lowering` to store the template lowering - Removes the old non-template `_d_arraycatnTX` and `_d_arraycatT` hooks - Moves `test19688.d` from `runnable/` to `compilable/` until https://issues.dlang.org/show_bug.cgi?id=23408 is fixed Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
13 lines
180 B
D
13 lines
180 B
D
/* TEST_OUTUT:
|
|
---
|
|
---
|
|
*/
|
|
void test(string s = __FUNCTION__ ~ __MODULE__ ~ __FUNCTION__)
|
|
{
|
|
assert(s == "test19688.maintest19688test19688.main");
|
|
}
|
|
|
|
void main()
|
|
{
|
|
test();
|
|
}
|