manifold-systems / manifold

Manifold is a Java compiler plugin, its features include Metaprogramming, Properties, Extension Methods, Operator Overloading, Templates, a Preprocessor, and more.
http://manifold.systems/
Apache License 2.0
2.43k stars 125 forks source link

Usage of manifold-ext features (operator overloading, extension methods, etc.) are not processed within record classes #398

Closed rsmckinney closed 2 years ago

rsmckinney commented 2 years ago

Usage of manifold-ext features (operator overloading, extension methods, etc.) are not processed within record classes.

For instance:

public record Foo(String name) {
  public void whatever() {
    String s = List.of("hi")[0]; // usage of index operator does not work in a record class
  }
}
rsmckinney commented 2 years ago

Fixed in release 2022.1.26