Removed @wire from schema

This commit is contained in:
Borna Rajković committed 2022-05-07 18:28:31 +02:00
1 parent 5ccd9b2fa4
commit 9ff6633777
5 files changed
+8 -87

No files matched your search

-5
View File
@@ -798,11 +798,6 @@ Schema* SchemaCreator::loadSchema(SchemaNode node, Library &library)
}
}
if(!conn.wire) {
errors.emplace_back(conn.span, "missing @wire");
continue;
}
std::vector<InstanceAttribute> attributes;
for(auto& attr: conn.attributes) {
if(connection->hasAttribute(attr.name.value)) {