308309310311312313314315316
} SourcePosition errorPos = pos(2, 1); for (String illegalType : ILLEGAL_TYPES) { compile(prefix + CharEscapers.xmlEscaper().escape(illegalType) + suffix); assertAlert(new IllegalJavaTypeError(errorPos, illegalType)); assertNoUnexpectedAlerts(); } }