fix: don't check on confusing object ID in signal node

This commit is contained in:
Gleb Smirnov 2022-01-17 08:35:12 +03:00 committed by liferooter
parent c0c4ae3fc9
commit 98bb9e3008

View file

@ -347,11 +347,6 @@ class Signal(AstNode):
if object_id is None:
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:
raise CompileError(
f"Could not find object with ID '{object_id}'"