THashMap<TMetaVar,Type> unifications = new THashMap<TMetaVar,Type>();
Type requiredType = getType();
if(DEBUG)
- System.out.println("EAmbigious.filterActive with " + requiredType);
+ System.out.println("EAmbigious.filterActive with " + requiredType.toStringSkeleton());
for(int i=0;i<alternatives.length;++i)
if(active[i]) {
unifications.clear();
private void listenType() {
if(DEBUG)
- System.out.println("EAmbigious.listenType " + getType());
+ System.out.println("EAmbigious.listenType " + getType().toStringSkeleton());
new TypeListener() {
@Override
public void notifyAboutChange() {
if(DEBUG)
- System.out.println("EAmbigious.notifyAboutChange " + getType());
+ System.out.println("EAmbigious.notifyAboutChange " + getType().toStringSkeleton());
Type requiredType = getType();
filterActive();
if(activeCount == 0) {
@Override
public Expression resolve(TranslationContext context) {
- throw new InternalCompilerError("EAmbiguousConstant should not exist in resolve phase.");
+ return this;
}
@Override