This commit is contained in:
Juraj Kirchheim
2014-06-05 20:09:17 +02:00
parent 8ca2259629
commit 613ebff7a0

View File

@@ -39,6 +39,7 @@ The library is build on top of the haxe macro API and `tink_core`, having three
- [Initialization Options](#initialization-options)
- [Expression Level Transformation](#expression-level-transformation)
- [Type Resolution Infrastructure](#type-resolution-infrastructure)
<!-- END INDEX -->
# Macro API
@@ -424,4 +425,4 @@ typedef TypeResolution = Ref<Either<String, TypeDefinition>>;
This is the current state of the resolution, meaning we either have a `String`, which is the name of the type that wasn't found, or a `TypeDefinition` which is a "proposal" given by already invoked resolvers.
To register a type resolver, you can add a callback to `tink.MacroApi.typeNotFound` which is a `Signal<TypeResolution>`.
To register a type resolver, you can add a callback to `tink.MacroApi.typeNotFound` which is a `Signal<TypeResolution>`.