Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
08249260f9 | ||
![]() |
e24941880a | ||
![]() |
bdf78197db | ||
![]() |
635e64ebf1 |
@@ -1,7 +1,7 @@
|
||||
# @install: lix --silent download "gh://github.com/back2dos/travix#354c2b2a82cc3b03e2f87cc1b6f0ddc0a6a5c133" into travix/0.15.0/github/354c2b2a82cc3b03e2f87cc1b6f0ddc0a6a5c133
|
||||
# @post-install: cd ${HAXE_LIBCACHE}/travix/0.15.0/github/354c2b2a82cc3b03e2f87cc1b6f0ddc0a6a5c133 && haxe -cp src --run travix.PostDownload
|
||||
# @run: haxelib run-dir travix ${HAXE_LIBCACHE}/travix/0.15.0/github/354c2b2a82cc3b03e2f87cc1b6f0ddc0a6a5c133
|
||||
# @install: lix --silent download "haxelib:/travix#0.15.3" into travix/0.15.3/haxelib
|
||||
# @post-install: cd ${HAXE_LIBCACHE}/travix/0.15.3/haxelib && haxe -cp src --run travix.PostDownload
|
||||
# @run: haxelib run-dir travix "${HAXE_LIBCACHE}/travix/0.15.3/haxelib"
|
||||
-lib tink_cli
|
||||
-cp ${HAXE_LIBCACHE}/travix/0.15.0/github/354c2b2a82cc3b03e2f87cc1b6f0ddc0a6a5c133/src
|
||||
-D travix=0.15.0
|
||||
-cp ${HAXE_LIBCACHE}/travix/0.15.3/haxelib/src
|
||||
-D travix=0.15.3
|
||||
--macro travix.Macro.setup()
|
@@ -9,8 +9,8 @@
|
||||
"contributors": [
|
||||
"back2dos"
|
||||
],
|
||||
"version": "1.0.3",
|
||||
"releasenote": "Make Member::hasMeta null safe.",
|
||||
"version": "1.0.4",
|
||||
"releasenote": "Haxe 5 compat",
|
||||
"tags": [
|
||||
"tink",
|
||||
"macro",
|
||||
|
@@ -21,7 +21,7 @@ typedef TypeMap<T> = tink.macro.TypeMap<T>;
|
||||
|
||||
//TODO: consider adding stuff from haxe.macro.Expr here
|
||||
typedef MacroOutcome<D, F> = tink.core.Outcome<D, F>;
|
||||
typedef MacroOutcomeTools = tink.OutcomeTools;
|
||||
typedef MacroOutcomeTools = tink.core.Outcome.OutcomeTools;
|
||||
|
||||
typedef Member = tink.macro.Member;
|
||||
typedef Constructor = tink.macro.Constructor;
|
||||
|
@@ -357,7 +357,7 @@ class Exprs {
|
||||
expr = [EVars(locals).at(expr.pos), expr].toMBlock(expr.pos);
|
||||
Success(Context.typeof(expr));
|
||||
}
|
||||
catch (e:haxe.macro.Error) {
|
||||
catch (e:haxe.macro.Expr.Error) {
|
||||
e.pos.makeFailure(e.message);
|
||||
}
|
||||
catch (e:Dynamic) {
|
||||
|
Reference in New Issue
Block a user