Merge remote-tracking branch 'origin/topic/robin/gh-3083-export-fix'

* origin/topic/robin/gh-3083-export-fix:
  Register test analyzer only for required ports.
  Fix disappearing unit fields in Spicy type export.
This commit is contained in:
Robin Sommer 2023-05-30 14:59:00 +02:00
commit cfbb7eb8ee
No known key found for this signature in database
GPG key ID: D8187293B3FFE5D0
3 changed files with 35 additions and 1 deletions

View file

@ -985,7 +985,7 @@ bool GlueCompiler::PopulateEvents() {
}
}
ev.unit_type = std::move(uinfo.type.as<::spicy::type::Unit>());
ev.unit_type = uinfo.type.as<::spicy::type::Unit>();
ev.unit_module_id = uinfo.module_id;
ev.unit_module_path = uinfo.module_path;