Skip to content

Commit

Permalink
Merge pull request #4075 from ibuclaw/aalitnogc
Browse files Browse the repository at this point in the history
Comment out non-compilable AA literal
  • Loading branch information
WalterBright committed Oct 22, 2014
2 parents f945840 + 4b6dc31 commit cecbb79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/compilable/nogc.d
Expand Up @@ -64,10 +64,10 @@ void test12630() @nogc
static const arr1 = [[1,2], [3, 4]];
enum arr2 = [[1,2], [3, 4]];

static const aa1 = [1:1, 2:2];
//static const aa1 = [1:1, 2:2];
enum aa2 = [1:1, 2:2];

static const v1 = aa1[1];
//static const v1 = aa1[1];
enum v2 = aa2[1];

Object o;
Expand Down

0 comments on commit cecbb79

Please sign in to comment.