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

547 auto conversion for generic types #550

Merged
merged 7 commits into from
Aug 29, 2022

Conversation

99NIMI
Copy link
Member

@99NIMI 99NIMI commented Aug 24, 2022

ANY_REAL functions can now be called with ANY_INT, the passed integer will be converted to the smallest possible real-type

@99NIMI 99NIMI linked an issue Aug 24, 2022 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Aug 24, 2022

Codecov Report

Merging #550 (36ccea1) into master (e67c868) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #550      +/-   ##
==========================================
- Coverage   93.47%   93.43%   -0.04%     
==========================================
  Files          42       42              
  Lines       15506    15523      +17     
==========================================
+ Hits        14494    14504      +10     
- Misses       1012     1019       +7     
Impacted Files Coverage Δ
src/ast.rs 93.26% <100.00%> (+0.32%) ⬆️
src/resolver/generics.rs 97.01% <100.00%> (+0.02%) ⬆️
src/typesystem.rs 95.81% <100.00%> (+0.07%) ⬆️
src/diagnostics.rs 82.40% <0.00%> (-0.96%) ⬇️
src/parser.rs 96.18% <0.00%> (-0.23%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@99NIMI 99NIMI marked this pull request as ready for review August 29, 2022 11:46
@99NIMI 99NIMI requested a review from ghaith August 29, 2022 11:46
@99NIMI 99NIMI merged commit 9b1046c into PLC-lang:master Aug 29, 2022
@99NIMI 99NIMI deleted the 547-auto-conversion-for-generic-types branch August 29, 2022 12:46
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.

auto conversion for generic types
3 participants