Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/10815#issuecomment-172724672
  
    Okay, so it turns out that I was wrong about the `var` -> `def` issue:
    
    ```
    scala> class Foo {
         |    var field = 1
         | }
    defined class Foo
    ```
    
    becomes
    
    ```
    scala> :javap -s - Foo
    Compiled from "<console>"
    public class  {
      public static final  MODULE$;
        descriptor: L;
      public static {};
        descriptor: ()V
    
      public scala.tools.nsc.interpreter.IMain $intp();
        descriptor: ()Lscala/tools/nsc/interpreter/IMain;
    
      public ();
        descriptor: ()V
    }
    Compiled from "<console>"
    public class Foo {
      public int field();
        descriptor: ()I
    
      public void field_$eq(int);
        descriptor: (I)V
    
      public Foo();
        descriptor: ()V
    }
    ```
    
    Do you mind rolling back the changes due to that? Sorry about that.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to