MLstate / opalang

The Opa Language for Web Application Development
http://opalang.org
Other
1.24k stars 125 forks source link

Remove special comments from function bodies #188

Closed zinid closed 8 years ago

zinid commented 8 years ago

Improper special comments produce a warning which aborts the compilation process in OCaml 4.02.3. For example:

File "compiler/qmlslicer/qmlSimpleSlicer.ml", line 116, characters 4-76:
Warning 50: ambiguous documentation comment
File "compiler/qmlslicer/qmlSimpleSlicer.ml", line 126, characters 4-85:
Warning 50: ambiguous documentation comment
File "/tmp/ocamlpp46c604", line 1:
Error: Some fatal warnings were triggered (2 occurrences)
Command exited with code 2.
Compilation unsuccessful after building 1561 targets (1556 cached) in 00:00:35.

This PR fixes this.