stratacode / issues

Empty StrataCode project to store github issues
0 stars 0 forks source link

StrataCode command line - "No compiled class" error with compiled layers #21

Open jeffvroom opened 10 years ago

jeffvroom commented 10 years ago

When you use the command line editor to create a new object:

e.g.

object foo extends bar { ...

If the current layer is compiled you will get an error: "No compiled class for creating: foo"

If you do this with a dynamic layer, you can immediately use the object you are creating. StrataCode should at least do an incremental build, using the in-memory version of the source code (i.e. including the code which has not yet been saved).

Workaround: do cmd.save(); and cmd.rebuild();

then close the object using "}" and reopen it with:

foo {

}