Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Fixed language for Eclipse
Browse files Browse the repository at this point in the history
  • Loading branch information
FroMage committed May 22, 2019
1 parent d3994d6 commit 7e653a1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand 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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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){
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7e653a1

Please sign in to comment.