February 14, 2005
class A
{
  int foo;
}

class B
{
  A a;
}

void main()
{
  B b;
  with (b)
  {
    alias a.foo bar;
  }
}

DMD 0.113 outputs:

Assertion failure: '!scopesym || !scopesym->isWithScopeSymbol()' on line 2616 in file 'mtype.c'

abnormal program termination
February 18, 2005
Ilya Zaitseff wrote:

| class A
| {
|   int foo;
| }
|
| class B
| {
|   A a;
| }
|
| void main()
| {
|   B b;
|   with (b)
|   {
|     alias a.foo bar;
|   }
| }
|
| DMD 0.113 outputs:
|
| Assertion failure: '!scopesym || !scopesym->isWithScopeSymbol()' on
| line  2616 in file 'mtype.c'
|
| abnormal program termination

Added to DStress as
http://dstress.kuehne.cn/run/alias_15.d
http://dstress.kuehne.cn/run/alias_16.d

Note: This alias is treated as an type aliasing but should be treated as
an alias declaration.

Thomas