srowen commented on issue #23903: [SPARK-26977][CORE] Fix warn against subclassing scala.App URL: https://github.com/apache/spark/pull/23903#issuecomment-468117683 I get it, I misread your comment. The warning can stay as-is. Now we're back to the original issue. I'm still not clear why you don't just want to check whether `MyApp$` extends `scala.App` then, if the user tries to run `MyApp`. in the `object` case that works, that is the class that extends `scala.App`. I don't see the synthetic fields you are checking.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
