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

Reports wrong type for (some?) lambda parameters #201

Open
supersaiyansubtlety opened this issue Apr 22, 2024 · 4 comments
Open

Reports wrong type for (some?) lambda parameters #201

supersaiyansubtlety opened this issue Apr 22, 2024 · 4 comments
Labels
bug Something isn't working user interface affects the enigma ui

Comments

@supersaiyansubtlety
Copy link
Contributor

It's reporting type ItemStack for slot which is an EquipmentSlot.

If you move the cursor to the stack param, the type is missing entirely.

It seems like the index is just off by one?

java_t3ld82Xnkc

@ix0rai
Copy link
Member

ix0rai commented Apr 22, 2024

related to #189

@ix0rai ix0rai added bug Something isn't working user interface affects the enigma ui labels Apr 22, 2024
@ix0rai ix0rai closed this as completed Apr 23, 2024
@supersaiyansubtlety
Copy link
Contributor Author

This is happening on QuiltMC/quilt-mappings@3f6043b

java_C6hWjSridv

arg2's type should be net/minecraft/predicate/DataComponentPredicate.Builder, but it displays the type of potion instead

@ix0rai
Copy link
Member

ix0rai commented Sep 22, 2024

of course

@ix0rai
Copy link
Member

ix0rai commented Sep 22, 2024

my 'fix' was to swap the default when we don't have access data to non-static, which flips the issue
i'll figure out why we don't have access data for that method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working user interface affects the enigma ui
Projects
None yet
Development

No branches or pull requests

2 participants