mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
fix: don't check on confusing object ID in signal node
This commit is contained in:
parent
c0c4ae3fc9
commit
98bb9e3008
1 changed files with 0 additions and 5 deletions
|
@ -347,11 +347,6 @@ class Signal(AstNode):
|
||||||
if object_id is None:
|
if object_id is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
if object_id in ("true", "false"):
|
|
||||||
raise CompileError(
|
|
||||||
"Signal object must be object ID, not boolean value"
|
|
||||||
)
|
|
||||||
|
|
||||||
if self.root.objects_by_id.get(object_id) is None:
|
if self.root.objects_by_id.get(object_id) is None:
|
||||||
raise CompileError(
|
raise CompileError(
|
||||||
f"Could not find object with ID '{object_id}'"
|
f"Could not find object with ID '{object_id}'"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue