Skip to content
Permalink
Browse files

Fixed language for Eclipse

  • Loading branch information
FroMage committed May 22, 2019
1 parent d3994d6 commit 7e653a1cd0ff54e7b773f92e26af8ba56b85f308
@@ -50,7 +50,7 @@ private static String getMessage(ExitState exitState) {
// Codegen used erroneous
message = "Codegen Assertion";
} else if (exitState.nonCeylonErrorCount > 0) {
// Codegen generated crap which javac rejected
// Codegen generated stuff which javac rejected
message = "Codegen Error";
} else {
// javac screwed up
@@ -4946,7 +4946,7 @@ private boolean canOptimiseReifiedTypeTest(Type type) {
// look up the containers
declaration = enclosingDeclaration;
}else{
// that's fucked up
// that's broken
break;
}
// go up every containing typed declaration
@@ -4993,7 +4993,7 @@ private boolean canUseFastFailTypeTest(Type type) {
// look up the containers
declaration = enclosingDeclaration;
}else{
// that's fucked up
// that's broken
break;
}
// go up every containing typed declaration
@@ -5537,7 +5537,7 @@ private JCExpression makeReifiedTypeArgumentResolved(Type pt, boolean qualified)
private JCExpression makeReifiedTypeArgumentResolved(Type pt, boolean qualified,
TypeArgumentAccessor typeArgumentAccessor, boolean wantsRaw) {
if(pt.isUnion()){
// FIXME: refactor this shite
// FIXME: refactor this
List<JCExpression> typeTestArguments = List.nil();
java.util.List<Type> typeParameters = pt.getCaseTypes();
if(typeParameters.size() == 2){
@@ -5776,7 +5776,7 @@ protected boolean hasTypeArguments(Type type){
// must be in scope, recurse
return hasTypeArguments(((TypeDeclaration) enclosingDeclaration).getType());
}else{
// that's fucked up
// that's broken
break;
}
// go up every containing typed declaration
@@ -1389,7 +1389,7 @@ protected final int makeSequencedArgument(final int arity,
* <li>uses the declared parameters {@code $param$0}, {@code $param$1}, ...,
* <li>if the declared target parameter is sequenced collects all remaining
* parameters into a sequential target argument.
* <li>TODO Does some other shit
* <li>TODO Does some other stuff
* </ol>
*/
protected final void case3(final int arity, ListBuffer<JCStatement> stmts,
@@ -1572,7 +1572,7 @@ MethodDefinitionBuilder makeMethod(final int arity) {
* so long as the parameter is not sequenced.
* <li>if the declared target parameter is sequenced collects all remaining
* parameters into a sequential target argument.
* <li>TODO Does some other shit
* <li>TODO Does some other stuff
* <li>Calls {@code AbstractCallable.$spreadVarargs$} to construct a
* Sequential argument from the remaining parameters.
* </ol>
@@ -5706,7 +5706,7 @@ public JCTree transform(CustomTree.GuardedVariable that) {
}
SyntheticName alias = naming.alias(that.getIdentifier().getText());
Substitution subst = naming.addVariableSubst(newValue, alias.getName());
// FIXME: this is rubbish, but the same rubbish from assert. it's most likely wrong there too
// FIXME: this is wrong , but the same as assert. it's most likely wrong there too
Scope scope = that.getScope().getScope();
while (scope instanceof ConditionScope) {
scope = scope.getScope();
@@ -827,7 +827,7 @@ protected String isFunctionalInterface(ClassMirror klass){

MethodSymbol descriptorSymbol = (MethodSymbol) types.findDescriptorSymbol(type.tsym);
if(descriptorSymbol != null){
// make sure we don't treat ignored shit like impl accessors as SAM
// make sure we don't treat ignored stuff like impl accessors as SAM
if(isIgnored(descriptorSymbol))
return null;
String name = descriptorSymbol.getSimpleName().toString();

0 comments on commit 7e653a1

Please sign in to comment.
You can’t perform that action at this time.