待辦事項 #44573

generate_packets.py: restructure parsing and handling of type aliases

啟用日期: 2022-05-13 03:31 最後更新: 2022-05-14 20:20

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

細節

Part of #43927. Current type alias code is unnecessarily convoluted. Remove the Type class and replace the list of alias definitions with a dict mapping names to values.

Also consider handling duplicate type aliases – current code effectively silently ignores later definitions with the same name.

Ticket History (3/4 Histories)

2022-05-13 03:31 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: restructure parsing and handling of type aliases" created
2022-05-13 03:39 Updated by: alienvalkyrie
  • 處理結果 Update from to Accepted
評語

Depends on #44571 and #44572. Does not interfere with #44563

2022-05-14 20:20 Updated by: alienvalkyrie
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入