Skip to content

I think an update broke this #1

@jordan4ibanez

Description

@jordan4ibanez

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 optibrev

Error 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions