You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@linkis.apache.org by rita <ri...@163.com> on 2022/07/11 12:02:34 UTC
[DISCUSS] 2.13 reflect cannot find the field in0
Dear:
The chat records of WeChat group“Apache linkis Community Development Group”are as follows:
微信群"Apache Linkis 社区开发群"的聊天记录如下:
--------2022.7.7--------
peacewong@WDS 7-7 10:31:49
@jackxu2011_ Linyun Xuling Brother Scala 2.13 here is what the problem?
peacewong@WDS 7-7 10:31:50
peacewong@WDS 7-7 10:35:28
TrinoPR has been submitted @ wForget iQIYI - wang @ CCweixiao_intsig_leojie two bosses help https://github.com/apache/incubator-linkis/pull/2424 under review
7-7 13:09:23 Xu Ling
2.13 reflect cannot find the field in0
peacewong@WDS 7-7 13:10:32
It's 2.13, maybe another one [bitter]
7-7 13:13:01 Xu Ling
7-7 13:13:32 Xu Ling
It feels like there are too many different implementations of scala
7-7 13:14:02 Xu Ling
This would be better implemented with extend
peacewong@WDS 7-7 13:14:26
Yeah, feels like a better way to do it
7-7 16:52:45 bao ocean
This seems to be available in 2.12.
peacewong@WDS 7-7 10:31:49
@jackxu2011_麟云 许灵兄 scala 2.13这里是有啥问题呢?
peacewong@WDS 7-7 10:31:50
peacewong@WDS 7-7 10:35:28
trinoPR 已经提交了 @wForget-爱奇艺-王震 @CCweixiao_intsig_leojie 两位大佬帮忙review下https://github.com/apache/incubator-linkis/pull/2424
许灵 7-7 13:09:23
2.13通过reflect找不到in0的field了
peacewong@WDS 7-7 13:10:32
就是2.13可能是另外一种了
许灵 7-7 13:13:01
许灵 7-7 13:13:32
感觉这个scala不同版本的实现差异太大了
许灵 7-7 13:14:02
这个是不是用extend去实现更好一点
peacewong@WDS 7-7 13:14:26
是的,感觉这样的话实现好一点
bao洋 7-7 16:52:45
这个好像在2.12就有