Skip to content

Commit

Permalink
Merge pull request #40 from kLabz/fix_weird_partial_resolution
Browse files Browse the repository at this point in the history
Fix weird partial module resolution
  • Loading branch information
back2dos authored Nov 27, 2024
2 parents 990096c + 635e64e commit bdf7819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tink/MacroApi.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/tink/macro/Exprs.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bdf7819

Please sign in to comment.