aboutsummaryrefslogtreecommitdiff
path: root/lib/syntax
diff options
context:
space:
mode:
authorChimrod <>2023-10-09 13:25:59 +0200
committerChimrod <>2023-10-18 09:49:47 +0200
commit4b47c572fc7122154813c8bb5da477c0f152f002 (patch)
tree40efe19dad85fda1318c70904d30aaf97a917351 /lib/syntax
parentc2f87ff1e6e5676968804cd50b86fc2f0f9ad672 (diff)
Added an interface for the type_of syntax module
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