Skip to content
New issue

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

Very strict Javadoc #3553

Closed
hfhbd opened this issue Oct 2, 2022 · 0 comments · Fixed by #3554
Closed

Very strict Javadoc #3553

hfhbd opened this issue Oct 2, 2022 · 0 comments · Fixed by #3554
Labels

Comments

@hfhbd
Copy link
Collaborator

hfhbd commented Oct 2, 2022

SQLDelight Version

2.0.0-SNAPSHOT (6641abd)

Operating System

macOS 13.0

Gradle Version

7.5.1

Kotlin Version

1.7.20

Dialect

SQLite

AGP Version

No response

Describe the Bug

/**
TEST
*/
test:
SELECT * FROM foo;

/**
* TEST
*/
test2:
SELECT * FROM foo;

Both queries do not work, and results into this compiler error:

/**
 * TEST
 * */
 */
public fun test(BAR: Double?): Query<Test> = test(BAR) { FOO ->
  Test(
    FOO
  )
}

/**
 * * TEST
 * */
 */
public fun test2(BAR: Double?): Query<Test2> = test2(BAR) { FOO ->
  Test2(
    FOO
  )
}

This syntax works, but is very strict:

/**
 * TEST
 */
test:
SELECT * FROM foo;
/**
 * TEST
 */
public fun test(BAR: Double?): Query<Test> = test(BAR) { FOO ->
  Test2(
    FOO
  )
}

Stacktrace

No response

Gradle Build Script

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant