Skip to content

Commit 60a0a7d

Browse files
committed
simplify imports in dyaml/node.d
Should fix internal compiler error in GDC
1 parent 9d99216 commit 60a0a7d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • source/dub/internal/dyaml

source/dub/internal/dyaml/node.d

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2598,7 +2598,8 @@ enum castableToNode(T) = (is(T == struct) || is(T == class)) && is(typeof(T.opCa
25982598
@safe unittest
25992599
{
26002600
import dub.internal.dyaml : Loader, Node;
2601-
import std : split, to;
2601+
import std.string : split;
2602+
import std.conv : to;
26022603

26032604
static class MyClass
26042605
{
@@ -2620,7 +2621,8 @@ enum castableToNode(T) = (is(T == struct) || is(T == class)) && is(typeof(T.opCa
26202621
@safe unittest
26212622
{
26222623
import dub.internal.dyaml : Loader, Node;
2623-
import std : split, to;
2624+
import std.string : split;
2625+
import std.conv : to;
26242626

26252627
static class MyClass
26262628
{

0 commit comments

Comments
 (0)