mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Move bindings out of the Value syntax
They're only valid in properties, so they should just be there. Same with object values.
This commit is contained in:
parent
ac2a7d9282
commit
75055ac967
7 changed files with 45 additions and 47 deletions
|
@ -47,11 +47,6 @@ class Binding(AstNode):
|
|||
)
|
||||
return None
|
||||
|
||||
@validate("bind")
|
||||
def not_bindable(self) -> None:
|
||||
if binding_error := self.context[ValueTypeCtx].binding_error:
|
||||
raise binding_error
|
||||
|
||||
|
||||
@dataclass
|
||||
class SimpleBinding:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue