Skip to content

Fix most kotlin warnings - #1236

Merged
Robotgiggle merged 2 commits into
mainfrom
fix-warnings
Aug 4, 2026
Merged

Fix most kotlin warnings#1236
Robotgiggle merged 2 commits into
mainfrom
fix-warnings

Conversation

@Robotgiggle

@Robotgiggle Robotgiggle commented Aug 4, 2026

Copy link
Copy Markdown
Member

Resolves #1044 by making the CastingImage constructor public. Also changes a bunch of ctx: CastingEnvironment parameters to be called env instead, both to fix some other warnings (about subclasses using different parameter names than their parents in overridden methods) and because it hasn't been called a CastingContext in years.

@IridescentVoid IridescentVoid left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@IridescentVoid
IridescentVoid added this pull request to the merge queue Aug 4, 2026
@IridescentVoid
IridescentVoid removed this pull request from the merge queue due to a manual request Aug 4, 2026
@Robotgiggle
Robotgiggle added this pull request to the merge queue Aug 4, 2026
Merged via the queue into main with commit 52fe954 Aug 4, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from 📋 Backlog to ✅ Done in Hex Casting Aug 4, 2026
@IridescentVoid
IridescentVoid deleted the fix-warnings branch August 5, 2026 01:47
object-Object added a commit that referenced this pull request Aug 16, 2026
## Do not squash!!!

Includes PRs:
- #1224
- #1199
- #1103
- #1235
- #1236
- #1242
- #910
- #1248
- #1252
- #1251
- #1261

---------

Co-authored-by: IridescentVoid <265486018+IridescentVoid@users.noreply.github.com>
Co-authored-by: Robotgiggle <88736742+Robotgiggle@users.noreply.github.com>
Co-authored-by: Stickia <93604201+Stick404@users.noreply.github.com>
Co-authored-by: Hexxy Weblate <weblate@hexxy.media>
Co-authored-by: [object Object] <object@objectobject.ca>
Co-authored-by: Florian Meyer <flommeyer@gmail.com>
Co-authored-by: ChuijkYahus <zhaoclleonard23@outlook.com>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: miyucomics <72044529+miyucomics@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

Public copy() with private constructor deprecated in Kotlin

2 participants