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 with the push operator with complex types #3317

Closed
davidnich opened this issue Feb 20, 2019 · 0 comments
Closed

error with the push operator with complex types #3317

davidnich opened this issue Feb 20, 2019 · 0 comments

Comments

@davidnich
Copy link
Contributor

davidnich commented Feb 20, 2019

david@greybeard:~/src/qore/git/qore/src$ qore -ne 'list l; push l, 1; printf("%y\n", l);'
[1]
david@greybeard:~/src/qore/git/qore/src$ qore -ne 'list<int> l; push l, 1; printf("%y\n", l);'
null
david@greybeard:~/src/qore/git/qore/build$ qore --strict-args -ne 'list<int> l; push l, 1; printf("%y\n", l);'
unhandled QORE System exception thrown in TID 1 at 2019-02-20 12:13:01.944184 Wed +01:00 (CET) at <command-line>:1 (Qore builtin code)
PUSH-ERROR: the lvalue argument to push is type "NOTHING"; expecting "list"
@davidnich davidnich added this to the 0.9.1 milestone Feb 20, 2019
@davidnich davidnich assigned davidnich and unassigned davidnich Feb 20, 2019
davidnich added a commit that referenced this issue Mar 5, 2019
davidnich added a commit that referenced this issue Mar 5, 2019
@davidnich davidnich added the fixed label Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant