From 87faf372eb517077cc600c4e653e4fb3252d02ac Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Mon, 24 Apr 2023 00:38:31 -0400 Subject: fix(python,starlark): builtin types should come after types --- tests/query/highlights/python/fields.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/query/highlights/python/fields.py') diff --git a/tests/query/highlights/python/fields.py b/tests/query/highlights/python/fields.py index 21b6251dc..fb36a6311 100644 --- a/tests/query/highlights/python/fields.py +++ b/tests/query/highlights/python/fields.py @@ -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 -- cgit v1.2.3-70-g09d2