待辦事項 #45179

generate_packets.py: detect and forbid cyclic type aliases

啟用日期: 2022-07-21 05:12 最後更新: 2022-07-22 21:00

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

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
  • 處理結果 Update from 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
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入