HeapsIO/domkit

A simple component causes: "domkit.Identifier should be String"

SanBen opened this issue · 1 comments

SanBen commented

If I compile the following example:

@:uiComp("view")
class ViewComp extends h2d.Flow implements h2d.domkit.Object {
    static var SRC = <view><text text="text" /></view>
}

class Main extends hxd.App {
    override function init() { }
    static function main() { new Main(); }
}

I always get the same error: "domkit.Identifier should be String" and not much more.
The full error is: "haxe\lib\heaps/1,10,0/h2d/domkit/BaseComponents.hx:550: characters 3-37 : domkit.Identifier should be String"

The installed modules are as follows:

domkit: [git]
format: [3.6.0]
heaps: [1.10.0]
hldx: [1.13.0]
hlopenal: [1.5.0]
hlsdl: [1.13.0]


I would expect this example to compile, or is there a wrong Id being passed for some reason?

Seems like both libraries are out of sync, you need to use GIT for both domkit and heaps