qorelanguage / qore

Qore Programming Language
GNU General Public License v2.0
61 stars 10 forks source link

runtime exception are sometimes reported at the wrong source location #4

Closed davidnich closed 8 years ago

davidnich commented 8 years ago

error with reporting duplicate hash keys:

unhandled QORE System exception thrown in TID 1 at 2016-06-02 06:19:53.673350 Thu +02:00 (CEST) at /Users/david/src/qore/git/qore/qlib/SqlUtil.qm:14243
DUPLICATE-HASH-KEY: hash key 'seq' has already been given in this hash; the value given in the last occurrence will be assigned to the hash; to avoid seeing this warning, remove the extraneous key definitions or turn off the warning by using '%disable-warning duplicate-hash-key' in your code

the actual error was in SqlUtil.qm:2667