Scalac hanging on phase typer of RegexParser

ε祈祈猫儿з 提交于 2019-12-06 08:51:40

It looks like a workaround is to add an explicit type:

def da_gd : Parser[Expression with TimedCondition] =
  pref_timed_gd | da_gd_conjunction |
  (empty_temporal: Parser[Expression with TimedCondition])

A stack dump shows that it's figuring out the type of the expr, and -Ytyper-debug shows the vicinity.

Since nothing good happens after midnight, I'll stop there.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!