New syntax: Make it an error to set the value of a builtin output property

With the old syntax, this becomes a warning
This commit is contained in:
Olivier Goffart 2022-10-31 16:16:11 +01:00 committed by Olivier Goffart
parent 8dbe745fc4
commit 2ceafc6392
10 changed files with 98 additions and 42 deletions

View file

@ -408,7 +408,7 @@ impl ElementType {
Some(p) => PropertyLookupResult {
resolved_name,
property_type: p.ty.clone(),
property_visibility: PropertyVisibility::InOut,
property_visibility: p.property_visibility,
is_local_to_component: false,
},
}