From 98bb9e30082774952c4cdfabac53b4d3e09c88ba Mon Sep 17 00:00:00 2001 From: Gleb Smirnov Date: Mon, 17 Jan 2022 08:35:12 +0300 Subject: [PATCH] fix: don't check on confusing object ID in signal node --- blueprintcompiler/ast.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/blueprintcompiler/ast.py b/blueprintcompiler/ast.py index 132e1b1..6a96b8a 100644 --- a/blueprintcompiler/ast.py +++ b/blueprintcompiler/ast.py @@ -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}'"