Compare commits

..

1 commit

Author SHA1 Message Date
jgcodes2020
6f87c07320 Merge branch 'variant-literal' into 'main'
Draft: Syntax for variants

See merge request jwestman/blueprint-compiler!224
2024-12-25 18:59:52 +00:00
3 changed files with 3 additions and 4 deletions

View file

@ -52,7 +52,6 @@ from .values import (
Translated,
TypeLiteral,
Value,
VariantValue,
)
OBJECT_CONTENT_HOOKS.children = [

View file

@ -19,8 +19,6 @@
import typing as T
import gi
from blueprintcompiler.gir import ArrayType
from blueprintcompiler.lsp_utils import SemanticToken
@ -30,6 +28,8 @@ from .gobject_object import Object
from .types import TypeName
from .variant import VarContent
import gi
gi.require_version("GLib", "2.0")
from gi.repository import GLib

View file

@ -17,9 +17,9 @@
#
# SPDX-License-Identifier: LGPL-3.0-or-later
import itertools
import typing as T
from dataclasses import dataclass
import itertools
class Colors: