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

Printing and parsing of a property map are not inverse operations #1477

Open
tneele opened this issue Aug 21, 2018 · 0 comments
Open

Printing and parsing of a property map are not inverse operations #1477

tneele opened this issue Aug 21, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@tneele
Copy link
Member

tneele commented Aug 21, 2018

In mcrl2/data/detail/data_property_map, there are functions for printing and parsing properties. One would expect that these operations are eachother's inverse. However, when printing a set that contains an element with a comma, this is not the case. See the following example.

parse_set_string(print(std::set<>({"X(n,m:Nat)","Y"})))

leads to something like {"X(n","m:Nat)","Y"}.

I ran into this problem when making some changes to the pbesconstelm algorithm and running the librarytest_mcrl2_pbes_constelm_test test.

@mlaveaux mlaveaux added the bug Something isn't working label Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants