D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6077 - CTFE: Cannot append null array to null array.
Summary: CTFE: Cannot append null array to null array.
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 All
: P2 major
Assignee: No Owner
URL:
Keywords: rejects-valid
: 7046 (view as issue list)
Depends on:
Blocks:
 
Reported: 2011-05-29 11:28 UTC by David Nadlinger
Modified: 2011-12-14 08:35 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description David Nadlinger 2011-05-29 11:28:36 UTC
enum foo = {
  string s;
  string t;
  return s ~ t;
}();
---
DMD from current Git master (c1b7e0a) produces:
test.d(4): Error: s ~ t cannot be interpreted at compile time
Comment 3 Don 2011-12-14 08:35:17 UTC
*** Issue 7046 has been marked as a duplicate of this issue. ***