Ticket #45179

generate_packets.py: detect and forbid cyclic type aliases

Eröffnet am: 2022-07-21 05:12 Letztes Update: 2022-07-22 21:00

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
1

Details

Part of #43927. Should likely use #45178. Detect the creation of type alias cycles while parsing them and immediately raise an error.

Ticket-Verlauf (3/4 Historien)

2022-07-21 05:12 Aktualisiert von: alienvalkyrie
  • New Ticket "generate_packets.py: detect and forbid cyclic type aliases" created
2022-07-21 05:36 Aktualisiert von: alienvalkyrie
  • Lösung Update from Keine to Accepted
Kommentar

Depends on #45178. Also has the side effect of inlining type alias definitions where possible (i.e. if they're defined in the right order), which probably isn't a noticeable improvement to type alias resolution, but still.

2022-07-22 21:00 Aktualisiert von: alienvalkyrie
  • Status Update from Offen to Geschlossen
  • Lösung Update from Accepted to Gefixt

Bearbeiten

Please login to add comment to this ticket » Anmelden