尝试在我的测试 Haxelib 上使用该haxelib run
命令时出现异常:
haxelib run haxelib-test
D:\HaxeToolkit\haxe\std/neko/vm/Thread.hx:54:字符 20-71:无法从宏中创建线程
没有线程一切正常。
哈希码:
import neko.vm.Thread;
class Main {
static function main() {
trace("starting");
var commandsThread = Thread.create(read);
trace("ending");
}
static function read() {
trace("new thread");
}
}
我的haxelib.json
样子是这样的:
{
"name": "haxelib-test",
"license": "MIT",
"tags": [],
"description": "",
"version": "0.0.1",
"classPath": "src/",
"main": "Main"
}