fix(python,starlark): builtin types should come after types

This commit is contained in:
Amaan Qureshi 2023-04-24 00:38:31 -04:00
parent 01b42a1a57
commit 87faf372eb
3 changed files with 39 additions and 37 deletions

View file

@ -1,5 +1,7 @@
class Fields:
def __init__(self, fields):
def __init__(self, fields: list[int]) -> None:
# ^^^ @type.builtin
# ^^^^ @constant.builtin
self.fields = fields
# ^^^^^^ @field
self.__dunderfield__ = None