Büchi translation should not go through fg_safety_to_dca_maybe()

Fixes #366, reported by Simon Jantsch.

* spot/twaalgos/translate.cc: type_&Generic will also match if
type_==BA... use type_==Generic instead.
* tests/core/unambig.test: Add a test corresponding to Simon's report.
* NEWS: Describe the bug.
This commit is contained in:
Alexandre Duret-Lutz 2018-10-12 11:47:00 +02:00
parent e5f76b77d4
commit 3c86f034fc
3 changed files with 12 additions and 1 deletions

7
NEWS
View file

@ -64,6 +64,13 @@ New in spot 2.6.2.dev (not yet released)
with arbitrary acceptance condition into a parity automaton,
based on a last-appearance record (LAR) construction.
Bugs fixed:
- Running "ltl2tgba -B" on formulas of the type FG(safety) would
unexpectedly use a co-Büchi automaton as an intermediate step.
This in turn caused "ltl2tgba -U -B" to not produce unambiguous
automata.
New in spot 2.6.2 (2018-09-28)
Build: