This is my code:
[n] > app
QQ.io.stdout > @
QQ.txt.sprintf *1
"Hello, %s!"
foo
Here, foo is not defined in the app object and there is no @ attribute in app. Obviously, it's a wrong reference to an object. Lints can catch this, but currently they don't. I'm getting this, in runtime:
Couldn't find object 'Φ.org.eolang.foo' because there's no class or package 'EOorg.EOeolang.EOfoo'
Let's create a lint for this.
This is my code:
Here,
foois not defined in theappobject and there is no@attribute inapp. Obviously, it's a wrong reference to an object. Lints can catch this, but currently they don't. I'm getting this, in runtime:Let's create a lint for this.