| Getting a reference to the class we are working with fails [message #949878] |
Fri, 19 October 2012 07:54  |
Alexey Romanov Messages: 263 Registered: May 2010 |
Senior Member |
|
|
In the following construct I expected structClassRef shouldn't be null:
acceptor.accept(structDef.toClass(structClassName)).initializeLater [
documentation = structDef.documentation
val structClassRef = structDef.newTypeRef(structClassName)
...
]
since it's only called after indexing and after a class with this name is registered. But as it happens, I _do_ get null here sometimes. What am I misunderstanding?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02323 seconds