Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Dove build not generating binaries upon warnings on 1.6.1 #224

Open
villesundell opened this issue Mar 14, 2022 · 0 comments
Open

Dove build not generating binaries upon warnings on 1.6.1 #224

villesundell opened this issue Mar 14, 2022 · 0 comments

Comments

@villesundell
Copy link
Contributor

Hello!
It seems that binaries are not produced if warnings are encountered (1.6.1-5ac671a).

Consider the following file, let's call it Invalid.move:

/** invalid documentation comment **/

Running dove build will report:

warning[W01004]: invalid documentation comment
  ┌─ ./sources/Invalid.move:1:1
  │
1 │ /** invalid documentation comment **/
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Documentation comment cannot be matched to a language item

While most of the warnings are worth fixing, some warnings don't need fixing: for example generics in script functions, which currently report:

warning[W04022]: script function cannot be invoked with this signature (NOTE: this may become an error in the future)

(Ending up not generating binaries.)

The compilation process itself is not aborted, you can see warnings from multiple files. Final binaries are not generated, though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant