Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialyzer-related fixes and improvements #762

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

pguyot
Copy link
Collaborator

@pguyot pguyot commented Aug 15, 2023

Document the following functions:

  • atomvm:get_start_beam/1
  • atomvm:posix_open/2
  • atomvm:posix_open/3
  • atomvm:posix_close/1
  • atomvm:posix_read/2
  • atomvm:posix_write/2
  • binary:part/3
  • erlang:binary_to_atom/2
  • erlang:binary_to_integer/1

Also fix specifications of the following functions:

  • wasm_webserver:start/0
  • atomvm:add_avm_pack_binary/2
  • atomvm:add_avm_pack_file/2
  • console:puts/1
  • console:puts/2
  • console:print/1
  • erlang:list_to_binary/1
  • lists:join/2

Also fix esp32init
Also make dialyzer a separate target and build plt of libs if dialyzer is found and the plt is needed
Also run dialyzer on runnables if target is built
Also fix rules in BuildErlang.cmake

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Document the following functions:
- atomvm:get_start_beam/1
- atomvm:posix_open/2
- atomvm:posix_open/3
- atomvm:posix_close/1
- atomvm:posix_read/2
- atomvm:posix_write/2
- binary:part/3
- erlang:binary_to_atom/2
- erlang:binary_to_integer/1

Also fix specifications of the following functions:
- wasm_webserver:start/0
- atomvm:add_avm_pack_binary/2
- atomvm:add_avm_pack_file/2
- console:puts/1
- console:puts/2
- console:print/1
- erlang:list_to_binary/1
- lists:join/2

Also fix esp32init
Also make dialyzer a separate target and always build plt of libs if it is found
Also run dialyzer on runnables if target is built
Also fix rules in BuildErlang.cmake

Signed-off-by: Paul Guyot <[email protected]>
@bettio bettio merged commit fdf0eb1 into atomvm:master Aug 16, 2023
80 checks passed
@pguyot pguyot deleted the w33/further-dialyzer-fixes branch August 16, 2023 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants