Skip to content

Commit fdffdda

Browse files
committed
ci: Re-enable GDC workflow
Also slightly modify unittest code to work around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119817
1 parent d9044f5 commit fdffdda

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/alpine.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ jobs:
2323
fail-fast: false
2424
matrix:
2525
include:
26-
# Disabled as we rely on DIP1000 `foreach (scope)` which GDC < 12 doesn't support
27-
# - { dc: gdc, dcpkg: gcc-gdc, dcbin: gdc }
26+
- { dc: gdc, dcpkg: gcc-gdc, dcbin: gdc }
2827
- { dc: ldc, dcpkg: ldc, dcbin: ldc2 }
2928
- { dc: dmd, dcpkg: dmd, dcbin: dmd }
3029

source/dub/internal/dyaml/node.d

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,8 @@ enum castableToNode(T) = (is(T == struct) || is(T == class)) && is(typeof(T.opCa
25792579
@safe unittest
25802580
{
25812581
import dub.internal.dyaml : Loader, Node;
2582-
import std : split, to;
2582+
import std.array : split;
2583+
import std.conv : to;
25832584

25842585
static class MyClass
25852586
{
@@ -2601,7 +2602,8 @@ enum castableToNode(T) = (is(T == struct) || is(T == class)) && is(typeof(T.opCa
26012602
@safe unittest
26022603
{
26032604
import dub.internal.dyaml : Loader, Node;
2604-
import std : split, to;
2605+
import std.array : split;
2606+
import std.conv : to;
26052607

26062608
static class MyClass
26072609
{

0 commit comments

Comments
 (0)