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

error in resolving constants at parse time #4404

Closed
davidnich opened this issue Jan 20, 2022 · 0 comments
Closed

error in resolving constants at parse time #4404

davidnich opened this issue Jan 20, 2022 · 0 comments

Comments

@davidnich
Copy link
Contributor

ILLEGAL-CLASS-INSTANTIATION: cannot instantiate 'DbIndexesDataType' class for assignment in a constant expression in the parse initialization phase when the class has uncommitted changes (while loading user module "DbDataProvider" from path "/home/david/src/qore/git/qore/qlib/DbDataProvider") (while loading user module "SqlUtilTestBase" from path "/home/david/src/qore/git/qore/examples/test/qlib/SqlUtil/SqlUtilTestBase.qm")

This limitation and error is due to an incorrect implementation resolving constants

@davidnich davidnich added this to the 1.2 milestone Jan 20, 2022
@davidnich davidnich self-assigned this Jan 20, 2022
@davidnich davidnich added this to To do in Qore Development via automation Jan 20, 2022
davidnich added a commit that referenced this issue Jan 20, 2022
refs #4404 fixed constant resolution and evaluation handling
davidnich added a commit that referenced this issue Jan 21, 2022
* refs #4395 added initial support for CRUD operations on data providers themselves

* refs #4395 more progress on data provider metadata manipulation APIs
refs #4399 fixed MysqlSqlUtil and OracleSqlUtil to create VARCHAR columns and assume a default size of 80 if the size is missing

* refs #4395 more data provider metadata API progress
refs #4402 fixed savepoints in FreetdsSqlUtil

* refs #4395 progress on data provider metadata APIs
refs #4404 fixed constant resolution and evaluation handling

* added missing file

* updated version info

* refs #4404 fixed type handling errors at parse time

* refs #4395 implemented support for returning more type information for options
refs #3397 fixed offset and limit support for MS SQL Server DBs

* log DB connection strings before executing tests
Qore Development automation moved this from To do to Done Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant