errorLog.log(declaration.location, "Annotations not supported.");
currentAnnotations = new ArrayList<DAnnotationAst>(2);
}
+ if(declaration.name.name.equals("Eq") || declaration.name.name.equals("Hashable")) {
+ errorLog.logWarning(declaration.location, "Skipped instance definition for " + declaration.name + " for " + declaration.types[0]);
+ return;
+ }
instancesAst.add(new ProcessedDInstanceAst(
declaration,
valueDefs));
errorLog.log(declaration.location, "Annotations not supported.");
currentAnnotations = new ArrayList<DAnnotationAst>(2);
}
+ if(declaration.name.name.equals("Eq") || declaration.name.name.equals("Hashable")) {
+ errorLog.logWarning(declaration.location, "Skipped instance definition for " + declaration.name + " for " + declaration.types[0]);
+ return;
+ }
derivingInstancesAst.add(declaration);
}