-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Here is the chain of events:
class TileDefinition {
string name = null;
string modName = null;
string texture = null;
int id = -1;
}
void finalize() {
import optibrev;
// Error 1 here
Option!TileDefinition blah;
}
// Error 2 is inside optibrevError 1:
template instance `optibrev.Option!(TileDefinition)` error instantiating
Error 2: (line 173)
cannot implicitly convert expression `this.value` of type `const(TileDefinition)` to `game.tile_database.TileDefinition`
I'm not really sure why this is happening. It appears it's having issue with classes?
Metadata
Metadata
Assignees
Labels
No labels