Exemplo n.º 1
0
 private CompilationError createPatternsInMatchingMixinsDoNotMatch(
     ReusableStructureName name, MixinReference reference) {
   return new CompilationError(
       reference.getFinalName(),
       "No mixin named \"" + name.asString() + "\" has matching patterns.");
 }
Exemplo n.º 2
0
 private CompilationError createNoMixinHasRightParametersCountError(
     ReusableStructureName name, MixinReference reference) {
   return new CompilationError(
       reference.getFinalName(),
       "No mixin named \"" + name.asString() + "\" has the right number of parameters.");
 }
Exemplo n.º 3
0
 private CompilationError createUndefinedMixin(
     ReusableStructureName name, MixinReference reference) {
   return new CompilationError(
       reference.getFinalName(), "Could not find mixin named \"" + name.asString() + "\".");
 }