We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code fails Apex prettier --debug-check:
public class Sosl { public void testWithDivision() { s = [ FIND 'foobar' RETURNING Account WITH DIVISION ='global' ]; } } Sosl.cls[error] Sosl.cls: Error: Expecting ']' but was: 'RETURNING'. Syntax(erro[error] atchedSyntax(loc = (3, 49, 35, 44), actual = 'RETURNING', expected = ])) [error] Missing ';' at 'Account'. Syntax(error = MissingSyntax(loc = (3, 59, 37,[error] tual = 'Account', expected = ;)) [error] Extra ';', at ']'.. Syntax(error = UnmatchedSyntax(loc = (3, 66, 38, 39), actual = ']', expected = ;)) [error] at Object.parse (/usr/local/lib/node_modules/prettier-plugin-apex/src/parser.js:452:13) [error] at Object.parse$2 [as parse] (/usr/local/lib/node_modules/prettier/bin-prettier.js:10635:19) [error] at coreFormat (/usr/local/lib/node_modules/prettier/bin-prettier.js:13844:23) [error] at format (/usr/local/lib/node_modules/prettier/bin-prettier.js:14103:73) [error] at formatWithCursor (/usr/local/lib/node_modules/prettier/bin-prettier.js:14119:12) [error] at /usr/local/lib/node_modules/prettier/bin-prettier.js:42520:15 [error] at Object.format (/usr/local/lib/node_modules/prettier/bin-prettier.js:42539:12) [error] at format$1 (/usr/local/lib/node_modules/prettier/bin-prettier.js:43806:27) [error] at /usr/local/lib/node_modules/prettier/bin-prettier.js:44084:16 [error] at /usr/local/lib/node_modules/prettier/bin-prettier.js:44024:14
The text was updated successfully, but these errors were encountered:
a6109e9
Merge pull request #75 from dangmai/dependabot/gradle/org.junit.jupit…
4a39f18
…er-junit-jupiter-api-5.8.1
No branches or pull requests
The following code fails Apex prettier --debug-check:
public class Sosl {
public void testWithDivision() {
s = [
FIND 'foobar'
RETURNING Account
WITH DIVISION ='global'
];
}
}
Sosl.cls[error] Sosl.cls: Error: Expecting ']' but was: 'RETURNING'. Syntax(erro[error] atchedSyntax(loc = (3, 49, 35, 44), actual = 'RETURNING', expected = ]))
[error] Missing ';' at 'Account'. Syntax(error = MissingSyntax(loc = (3, 59, 37,[error] tual = 'Account', expected = ;))
[error] Extra ';', at ']'.. Syntax(error = UnmatchedSyntax(loc = (3, 66, 38, 39), actual = ']', expected = ;))
[error] at Object.parse (/usr/local/lib/node_modules/prettier-plugin-apex/src/parser.js:452:13)
[error] at Object.parse$2 [as parse] (/usr/local/lib/node_modules/prettier/bin-prettier.js:10635:19)
[error] at coreFormat (/usr/local/lib/node_modules/prettier/bin-prettier.js:13844:23)
[error] at format (/usr/local/lib/node_modules/prettier/bin-prettier.js:14103:73)
[error] at formatWithCursor (/usr/local/lib/node_modules/prettier/bin-prettier.js:14119:12)
[error] at /usr/local/lib/node_modules/prettier/bin-prettier.js:42520:15
[error] at Object.format (/usr/local/lib/node_modules/prettier/bin-prettier.js:42539:12)
[error] at format$1 (/usr/local/lib/node_modules/prettier/bin-prettier.js:43806:27)
[error] at /usr/local/lib/node_modules/prettier/bin-prettier.js:44084:16
[error] at /usr/local/lib/node_modules/prettier/bin-prettier.js:44024:14
The text was updated successfully, but these errors were encountered: