Skip to content

Change visibility for inheritance #683

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Fix ResultColumnMixin - add table reference for QueryResult https://github.com/sqldelight/sql-psi/pull/687
- Change visibility on CreateIndexElementType, CreateIndexElementType https://github.com/sqldelight/sql-psi/pull/683
- In-development snapshots are now published to the Central Portal Snapshots repository at https://central.sonatype.com/repository/maven-snapshots/.
- Fix unwanted environment log warnings https://github.com/sqldelight/sql-psi/pull/679

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ internal abstract class CreateIndexMixin(
}
}

internal class CreateIndexElementType(
open class CreateIndexElementType(
name: String,
) : SqlSchemaContributorElementType<SqlCreateIndexStmt>(name, SqlCreateIndexStmt::class.java) {
override fun nameType() = SqlTypes.TABLE_NAME
override fun nameType() = SqlTypes.INDEX_NAME
override fun createPsi(stub: SchemaContributorStub) = SqlCreateIndexStmtImpl(stub, this)
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ internal abstract class CreateViewMixin(
}
}

internal class CreateViewElementType(name: String) :
open class CreateViewElementType(name: String) :
SqlSchemaContributorElementType<TableElement>(name, TableElement::class.java) {
override fun nameType() = SqlTypes.VIEW_NAME
override fun createPsi(stub: SchemaContributorStub) = SqlCreateViewStmtImpl(stub, this)
Expand Down