Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Access transformation for inner classes #27

Open
0f-0b opened this issue Aug 22, 2018 · 1 comment
Open

Access transformation for inner classes #27

0f-0b opened this issue Aug 22, 2018 · 1 comment

Comments

@0f-0b
Copy link

0f-0b commented Aug 22, 2018

Minecraft version: 1.13
Rift version: 1.0.4-52

The bug

When trying to change the visibility of any inner class, the access transformer only transforms the class, but does not change any visibility information in the outer class. So accessing the inner class is still a compile-time error.

How to reproduce

  1. In access_transformations.at, add this line: public class wu$a.
  2. Run gradle setupDevWorkspace --rerun-tasks.
  3. Try to access net.minecraft.tags.BlockTags.Wrapper (create a new instance, for example).
@UpcraftLP
Copy link
Contributor

can confirm, same for this line that's already in rift:

public class bms$a # net.minecraft.world.gen.ChunkGeneratorType$Settings

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants