Bug 14731 – [REG2.068a] Error location insufficient when CTFE

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-06-25T02:39:00Z
Last change time
2017-07-22T12:35:35Z
Keywords
diagnostic, pull
Assigned to
nobody
Creator
jiki

Comments

Comment #0 by jiki — 2015-06-25T02:39:00Z
See below code. Dmd reports an error location _inside_of_phobos_ without the instantiation in the application. import std.array; void main() { enum string list1 = "a b".split(); // error in std/array.d string list2 = "a b".split(); // cf. error here -- same as 2.067 } In 2.067, the both reports the same -- error in the application.
Comment #1 by k.hara.pg — 2015-06-25T12:14:00Z
Comment #2 by github-bugzilla — 2015-06-26T00:08:17Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/99b8bcacca542cfc3ab4dff3b8dc9c0fd9348e72 fix Issue 14731 - Error location insufficient when CTFE https://github.com/D-Programming-Language/dmd/commit/d284ad7b6b155e04db4f9582216f70b8e0a4b991 Merge pull request #4771 from 9rnsr/fix14731 [REG2.068a] Issue 14731 - Error location insufficient when CTFE
Comment #3 by github-bugzilla — 2015-06-26T14:11:54Z
Commit pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f491e5604009e40ad96cc7ecad6979975776a200 Merge pull request #4771 from 9rnsr/fix14731 [REG2.068a] Issue 14731 - Error location insufficient when CTFE
Comment #4 by github-bugzilla — 2015-07-24T03:20:12Z
Comment #5 by github-bugzilla — 2015-10-04T18:18:37Z
Comment #6 by github-bugzilla — 2017-07-22T12:35:35Z
Commits pushed to dmd-cxx at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/99b8bcacca542cfc3ab4dff3b8dc9c0fd9348e72 fix Issue 14731 - Error location insufficient when CTFE https://github.com/dlang/dmd/commit/d284ad7b6b155e04db4f9582216f70b8e0a4b991 Merge pull request #4771 from 9rnsr/fix14731