You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dubious should support circular dependencies between files.
Example of circular dependency I'd like to have:
class MetricsSuite
def app(app:Webapp)
@app = app
self
end
def self.for_app(app:Webapp)
new.app(app)
end
end
class Webapp < Model
def self.register(title:String)
app = new.title(title).on_register
app.save
app
end
def on_register
MetricsSuite.for_app(self).install
self
end
end
The text was updated successfully, but these errors were encountered:
If we changed the compilation step to just give all the files to the Mirah compiler at once, this should work because it will figure out the dependencies at compile time. The problem currently is that I think we don't do that.
Dubious should support circular dependencies between files.
Example of circular dependency I'd like to have:
The text was updated successfully, but these errors were encountered: