Issue290

Title translator should complain about name clashes between objects
Priority wish Status resolved
Superseder Nosy List gabi, malte, silvia
Assigned To Keywords translator
Optional summary

Created on 2011-10-19.22:58:37 by silvia, last changed by gabi.

Files
File name Uploaded Type Edit Remove
problem.zip silvia, 2011-10-19.22:58:37 application/zip
Messages
msg11156 (view) Author: gabi Date: 2023-07-24.14:37:23
This seems to have been resolved with the latest updates to the parser. On the 
attached instance, we get a meaningful error:

error: duplicate object 'filter'
please check :constants and :objects definitions

I close this issue as resolved.
msg1832 (view) Author: malte Date: 2011-10-19.23:08:25
I think the problem is that there are two objects named "filter" -- one as a
constant in the domain file, another as an object in the problem file.

It would be good to make the translator catch multiple objects with the same
name during/after parsing and report that as an error. Somehow got time to
implement it?
msg1831 (view) Author: silvia Date: 2011-10-19.22:58:37
Bug reported by Bob.

In the attached problem, the translator reports "Simplified to trivially false
goal!" and generates an unsolvable task. However, the task is solvable. In
particular, the problem goes away when commenting out the (useless) negative
effect "(not (free ?iter))" in the first action.

Malte, feel free to add to nosy whoever you think appropriate.
History
Date User Action Args
2023-07-24 14:37:23gabisetstatus: chatting -> resolved
messages: + msg11156
2014-10-04 20:00:50maltesetkeyword: + translator
2011-10-19 23:08:25maltesetpriority: bug -> wish
messages: + msg1832
title: Translator incorrectly reports problem as unsolvable -> translator should complain about name clashes between objects
2011-10-19 22:58:37silviacreate