1 package org.simantics.scl.compiler.elaboration.chr.relations;
3 import org.simantics.scl.compiler.common.exceptions.InternalCompilerError;
4 import org.simantics.scl.compiler.elaboration.chr.CHRRelation;
5 import org.simantics.scl.compiler.internal.parsing.Symbol;
6 import org.simantics.scl.compiler.types.TVar;
7 import org.simantics.scl.compiler.types.Type;
9 public class UnresolvedCHRRelation extends Symbol implements CHRRelation {
12 public UnresolvedCHRRelation(long location, String name) {
13 this.location = location;
18 public Type[] getParameterTypes() {
19 throw new InternalCompilerError("Encountered unresolved CHRRelation during type checking.");
23 public TVar[] getTypeVariables() {
24 throw new InternalCompilerError("Encountered unresolved CHRRelation during type checking.");