-
-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Description
Prettier-Java 2.6.5
# Options (if any):
--print-width 80Input:
public class Foo {
public void bar() {
if (!(obj instanceof Project(String otherName, String[] otherContent))) {
return false;
}
}
}Output:
Sad sad panda, parsing errors detected in line: 3, column: 61!
Expecting --> ')' <-- but found --> 'otherContent' <--!
->compilationUnit
->ordinaryCompilationUnit
->typeDeclaration
->classDeclaration
->normalClassDeclaration
->classBody
->classBodyDeclaration
->classMemberDeclaration
->methodDeclaration
->methodBody
->block
->blockStatements
->blockStatement
->statement
->ifStatement
->expression
->conditionalExpression
->binaryExpression
->unaryExpression
->primary
->primaryPrefix
->parenthesisExpression
->expression
->conditionalExpression
->binaryExpression
->pattern
->recordPattern
Expected behavior:
No parsing error
Metadata
Metadata
Assignees
Labels
No labels