www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14235] New: [REG2.066.1] full-qualified template

https://issues.dlang.org/show_bug.cgi?id=14235

          Issue ID: 14235
           Summary: [REG2.066.1] full-qualified template instantiation
                    misses its error location
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: jiki red.email.ne.jp

-------------------------------------
import std.stdio;

std.stdio.Undefined!Object u;        // error at thismodule.d(1), not (3)
std.typecons.UndefinedNest!Object n; // error at phobos\std\stdio.d(20), where
import std.typecons;
-------------------------------------

Diagnostic only. So, I lower the severity.
The latter of two is quite misleading.
DMD2.065 puts more errors, so they could show the actual locations.

--
Mar 02 2015