1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* <license>
* This file is part of the dis-Emi-A HaXe Library. Copyright (c) edA-qa mort-ora-y
* For full copyright and license information please refer to doc/license.txt.
* </license>
*/
class Base
{
static public var a : Int = 0;
public var b : Int;
}
class BrokenVisibility extends Base
{
function main()
{
//Nicolas maintains that the visibility of a derived class will never include the
//statics of the parent class. So this can never work.
trace( a );
trace( b );
}
}
|