Scalac同相悬挂打字机 [英] Scalac hanging in phase typer

查看:0
本文介绍了Scalac同相悬挂打字机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对2.10.3和SLICK(Codegen)生成的代码有问题。它看起来与

非常相似

Scalac hanging on phase typer of RegexParser

Codegen生成的其他文件可以工作,但这个文件在"scalac:Phase Typer Foo.scala"中永远挂起

我能看到的唯一区别是表中的列数不同,这会产生许多列和大的cons列表,如下图所示

def * = WordRootID :: WordID :: WordHeadID :: SynonymID :: PronunciationID :: Rank :: BNCFrequency :: CompassDifficulty :: DifficultyNormalized :: DifficultySourceCode :: COCARank :: PartOfSpeech :: AttributeNounProper :: AttributeNounGerund :: AttributePronounType :: AttributeVerbIrregular :: AttributeAdjectiveParticiple :: AttributeArticleType :: AttributeNumber :: AttributeLanguage :: AttributeIdiom :: AttributeMultiWord :: AttributeExcluded :: AttributePrivate :: en_DefinitionDeprecated :: en_QuizDefinitionDeprecated :: en_SourceDeprecated :: ja_WordDeprecated :: ja_SourceDeprecated :: ja_DifficultyDeprecated :: ko_WordDeprecated :: ko_SourceDeprecated :: zh_WordDeprecated :: zh_SourceDeprecated :: es_WordDeprecated :: es_SourceDeprecated :: pt_WordDeprecated :: pt_SourceDeprecated :: tr_WordDeprecated :: tr_SourceDeprecated :: vi_WordDeprecated :: vi_Source :: ReviewCode :: Active :: DateModified :: DateCreated :: en_QuizDefinitionDateModifiedDeprecated :: WordRootAssetID :: Locked :: AttributeStudiable :: WhiteListingStatus :: HNil

当我注释掉大多数字段并将列表缩减为类似这样的小东西时,编译器完成

def * = WordRootID :: WordID :: WordHeadID :: AttributeLanguage :: HNil 

然而,这不是一种理想的编码方式。如有任何帮助,我们将不胜感激!

非常感谢 彼得

推荐答案

谢谢您,升级到2.11成功了。正如您所说,这是2.10.3编译器的问题,现在似乎已修复。

这篇关于Scalac同相悬挂打字机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆