aboutsummaryrefslogtreecommitdiff
path: root/lib/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'lib/syntax')
-rw-r--r--lib/syntax/type_of.mli7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/syntax/type_of.mli b/lib/syntax/type_of.mli
new file mode 100644
index 0000000..719becd
--- /dev/null
+++ b/lib/syntax/type_of.mli
@@ -0,0 +1,7 @@
+(* The module [type_of] populate the report with differents inconsistency
+ errors in the types.
+
+ - Assigning a [string] value in an [integer] variable
+ - Comparing a [string] with an [integer]
+ - Giving the wrong type in the argument for a function and so one. *)
+include S.Analyzer with type Location.repr = Report.t list -> Report.t list