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

Parser warnings for missing :number-fluents requirement #40

Open
jan-dolejsi opened this issue Aug 1, 2019 · 1 comment
Open

Parser warnings for missing :number-fluents requirement #40

jan-dolejsi opened this issue Aug 1, 2019 · 1 comment

Comments

@jan-dolejsi
Copy link
Contributor

The Parser reports warnings that do not seem right. Consider this domain file:

Line 7: (:requirements :strips :durative-actions :typing)
(:functions
    (speed ?c - car)
)

and an action effect:

Line 22: (assign (speed ?c) 60)

The parser reports this warning on the line with the assign effect:

domain.pddl: line: 22: Warning: Undeclared requirement :number-fluents

I could not find a :number-fluents requirement documented anywhere.
If I add it to the (:requirements ) list, I get slapped over my fingers with a syntax error:

domain.pddl: line: 7: Error: Syntax error in requirements declaration.

FYI, now that the Parser is hooked up behind VS Code, these warnings are very very visible.

@guicho271828
Copy link

I believe it should be :numeric-fluents

@jan-dolejsi jan-dolejsi changed the title Parser warnings for missing :number-fluents Parser warnings for missing :number-fluents requirement Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants