Bug 7398 – spell checker should suppress error messages
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-01-30T00:02:00Z
Last change time
2012-11-19T03:30:21Z
Keywords
diagnostic, rejects-valid
Assigned to
nobody
Creator
code
Comments
Comment #0 by code — 2012-01-30T00:02:25Z
class T2
{
alias Foo.value value;
static struct Foo
{
private static int value;
}
}
void foo()
{
auto val = T2.value;
}
--------
b.d(5): Error: struct b.T2.Foo is forward referenced when looking for 'value'
... ~80.000 more error messages
b.d(5): Error: struct b.T2.Foo is forward referenced when looking for 'value__'
b.d(3): Error: no property 'value' for type 'Foo'
b.d(3): Error: alias b.T2.value cannot alias an expression __error