Ticket #45179

generate_packets.py: detect and forbid cyclic type aliases

오픈 날짜: 2022-07-21 05:12 마지막 업데이트: 2022-07-22 21:00

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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 History (3/4 Histories)

2022-07-21 05:12 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: detect and forbid cyclic type aliases" created
2022-07-21 05:36 Updated by: alienvalkyrie
  • Resolution Update from None to Accepted
댓글 올리기

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 Updated by: alienvalkyrie
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login