mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Fix a bug found by the fuzzer
This commit is contained in:
parent
26072500c8
commit
aebf8be278
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class AdwBreakpointSetter(AstNode):
|
|||
# This happens for classes defined by the app itself
|
||||
return
|
||||
|
||||
if self.gir_property is None:
|
||||
if self.gir_property is None and self.property_name is not None:
|
||||
raise CompileError(
|
||||
f"Class {self.gir_class.full_name} does not have a property called {self.property_name}",
|
||||
did_you_mean=(self.property_name, self.gir_class.properties.keys()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue