Example #1
0
 public TypeUnifierTests()
 {
     unifier = new TypeUnifier();
     x       = new TypeVariable(0);
     y       = new TypeVariable(1);
     z       = new TypeVariable(2);
 }
Example #2
0
 public TypeUnifierTests()
 {
     unifier = new TypeUnifier();
     x = new TypeVariable(0);
     y = new TypeVariable(1);
     z = new TypeVariable(2);
 }
Example #3
0
 public TypeChecker(TypeRegistry typeRegistry)
 {
     unifier = new TypeUnifier();
     this.typeRegistry = typeRegistry;
     errorLog = new List<CompilerError>();
 }
Example #4
0
 public TypeChecker()
 {
     unifier = new TypeUnifier();
     typeMemberRegistry = new TypeMemberRegistry();
     errorLog = new List<CompilerError>();
 }