Fixed self and added tests back

This commit is contained in:
2026-05-21 08:09:26 +02:00
parent 7688599504
commit 702af9da3b
8 changed files with 228 additions and 18 deletions
+16
View File
@@ -0,0 +1,16 @@
pub struct PluginInfo {
pub String name,
pub String version,
}
pub class PluginRegistry<T> {
T plugins;
pub constructor(T plugins) {
self.plugins = plugins;
}
pub T plugins(self) {
return self.plugins;
}
}