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

feat: make Int a subclass of Float #1255

Merged
merged 3 commits into from
Nov 2, 2024
Merged

feat: make Int a subclass of Float #1255

merged 3 commits into from
Nov 2, 2024

Conversation

lars-reimann
Copy link
Member

Summary of Changes

Int is now a subclass of Float, which allows using int literals where floats are expected.

Copy link

github-actions bot commented Nov 2, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ MARKDOWN markdown-link-check 3 0 0.55s
✅ REPOSITORY git_diff yes no 0.18s
✅ TYPESCRIPT eslint 1 0 0 4.36s
✅ TYPESCRIPT prettier 1 0 0 0.61s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

Copy link

codecov bot commented Nov 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.69%. Comparing base (0bb1df0) to head (1ad7e91).
Report is 41 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1255   +/-   ##
=======================================
  Coverage   99.69%   99.69%           
=======================================
  Files         110      110           
  Lines       12630    12630           
  Branches     4161     4160    -1     
=======================================
  Hits        12591    12591           
  Misses         39       39           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lars-reimann lars-reimann merged commit c8f3b67 into main Nov 2, 2024
7 checks passed
@lars-reimann lars-reimann deleted the int-subclass-float branch November 2, 2024 17:36
lars-reimann pushed a commit that referenced this pull request Nov 2, 2024
## [0.21.0](v0.20.0...v0.21.0) (2024-11-02)

### Features

* make `Int` a subclass of `Float` ([#1255](#1255)) ([c8f3b67](c8f3b67))
* modulo operator ([#1256](#1256)) ([f590e7a](f590e7a))
@lars-reimann
Copy link
Member Author

🎉 This PR is included in version 0.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Included in a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant