Commits

vadimtsushko committed 8ed8ca0

--

  • Participants
  • Parent commits 7057331

Comments (0)

Files changed (1)

tests/objectory/SimpleTest.dart

-class C1{
-  static final type = 1;
-  static int getType(){
-    return type;
-  }
-  C1(){}
-  factory C1.c2(){
-    return new C2();
-  }
-}
-class C2 extends C1{
-  static final type = 2;
-}
-main(){
-  print(C1.getType());
-  C2 c2 = new C1.c2();
-  print(c2);
-}