www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15857] New: Confusing/wrong error message with

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

          Issue ID: 15857
           Summary: Confusing/wrong error message with
                    -transition=checkimports
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: doob me.com

Here's an other issue with the -transition=checkimports flag. I've not been
able to create a reduced test case but I get the following error message when
compiling DStep:

clang/Type.d(114,24): Deprecation: local import search method found overloadset
clang.Type.isEmpty instead of overloadset clang.Type.isEmpty

This is where it complains [1], "isEmpty" pulled in from here [2] and declared
here [3].

[1] https://github.com/jacob-carlborg/dstep/blob/master/clang/Type.d#L114
[2] https://github.com/jacob-carlborg/dstep/blob/master/clang/Type.d#L9
[3] https://github.com/jacob-carlborg/mambo/blob/master/mambo/core/Array.d#L110

--
Mar 31 2016