Initial stub version of resolve for types

This commit is contained in:
Andrey Breslav
2011-01-25 15:25:53 +03:00
parent 713f95d9d2
commit fb48cacf29
@@ -1,14 +1,11 @@
package org.jetbrains.jet.lang.types;
import com.intellij.psi.tree.IElementType;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jet.JetNodeTypes;
import org.jetbrains.jet.lang.psi.*;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
/**
@@ -77,6 +74,10 @@ public class JetTypeChecker {
return checkSubtypeForTheSameConstructor(closestSupertype, supertype);
}
private boolean checkSubtypeForTheSameConstructor(Type closestSupertype, Type supertype) {
throw new UnsupportedOperationException(); // TODO
}
// This method returns the supertype of the first parameter that has the same constructor
// as the second parameter, applying the substitution of type arguments to it
@Nullable