mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 10:53:14 +01:00
Merged DMD commit 20fb0fd8b8f214db21d346ac053aad7663efbbdd:
bugzilla 5195 Forward references ignore const
This commit is contained in:
@@ -2142,7 +2142,7 @@ Lagain:
|
||||
{
|
||||
//printf("Identifier '%s' is a variable, type '%s'\n", toChars(), v->type->toChars());
|
||||
if (!type)
|
||||
{ if (!v->type && v->scope)
|
||||
{ if ((!v->type || !v->type->deco) && v->scope)
|
||||
v->semantic(v->scope);
|
||||
type = v->type;
|
||||
if (!v->type)
|
||||
|
||||
Reference in New Issue
Block a user