Skip to content

feat: implements number type inferencing#154

Merged
baszalmstra merged 1 commit intomun-lang:masterfrom
baszalmstra:feature/number_type_inferencing
May 1, 2020
Merged

feat: implements number type inferencing#154
baszalmstra merged 1 commit intomun-lang:masterfrom
baszalmstra:feature/number_type_inferencing

Conversation

@baszalmstra
Copy link
Collaborator

Implements type inferencing of number types.

Closes #118

@baszalmstra baszalmstra self-assigned this May 1, 2020
@baszalmstra baszalmstra requested a review from Wodann May 1, 2020 12:44
@codecov
Copy link

codecov bot commented May 1, 2020

Codecov Report

Merging #154 into master will increase coverage by 0.47%.
The diff coverage is 78.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #154      +/-   ##
==========================================
+ Coverage   82.26%   82.74%   +0.47%     
==========================================
  Files         160      162       +2     
  Lines       11034    11137     +103     
==========================================
+ Hits         9077     9215     +138     
+ Misses       1957     1922      -35     
Impacted Files Coverage Δ
crates/mun/src/main.rs 0.00% <0.00%> (ø)
crates/mun_hir/src/ty/infer.rs 71.59% <67.08%> (-2.09%) ⬇️
crates/mun_runtime/src/lib.rs 71.87% <71.42%> (ø)
crates/mun_hir/src/ty.rs 88.46% <75.00%> (-2.13%) ⬇️
crates/mun_hir/src/ty/op.rs 82.05% <75.00%> (-0.81%) ⬇️
crates/mun_hir/src/ty/infer/type_variable.rs 84.07% <88.75%> (+84.07%) ⬆️
crates/mun_hir/src/ty/infer/coerce.rs 94.11% <100.00%> (+0.78%) ⬆️
crates/mun_hir/src/ty/infer/unify.rs 100.00% <100.00%> (ø)
crates/mun_hir/src/ty/tests.rs 96.29% <100.00%> (+0.04%) ⬆️
crates/mun_hir/src/utils.rs 100.00% <100.00%> (ø)
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ab15c9...286c662. Read the comment docs.

@baszalmstra baszalmstra force-pushed the feature/number_type_inferencing branch from f1ed60d to 286c662 Compare May 1, 2020 15:22
@baszalmstra baszalmstra merged commit 29e3b79 into mun-lang:master May 1, 2020
@Wodann Wodann added this to the Mun v0.2 milestone May 14, 2020
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.

Add int and float literal type inference

2 participants