{"action":"opened","issue":{"url":"https://api.github.com/repos/scala/bug/issues/10799","repository_url":"https://api.github.com/repos/scala/bug","labels_url":"https://api.github.com/repos/scala/bug/issues/10799/labels{/name}","comments_url":"https://api.github.com/repos/scala/bug/issues/10799/comments","events_url":"https://api.github.com/repos/scala/bug/issues/10799/events","html_url":"https://github.com/scala/bug/issues/10799","id":307682552,"number":10799,"title":"Infinite loop in scala compiler after updating pom to use 2.12.5","user":{"login":"Brassrat","id":553628,"avatar_url":"https://avatars3.githubusercontent.com/u/553628?v=4","gravatar_id":"","url":"https://api.github.com/users/Brassrat","html_url":"https://github.com/Brassrat","followers_url":"https://api.github.com/users/Brassrat/followers","following_url":"https://api.github.com/users/Brassrat/following{/other_user}","gists_url":"https://api.github.com/users/Brassrat/gists{/gist_id}","starred_url":"https://api.github.com/users/Brassrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brassrat/subscriptions","organizations_url":"https://api.github.com/users/Brassrat/orgs","repos_url":"https://api.github.com/users/Brassrat/repos","events_url":"https://api.github.com/users/Brassrat/events{/privacy}","received_events_url":"https://api.github.com/users/Brassrat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-22T15:03:19Z","updated_at":"2018-03-22T15:03:19Z","closed_at":null,"author_association":"NONE","body":"I am running MAC OS Sierra - 10.12.8\r\nJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home\r\nJAVA_OPTS='-Xms512m -Xmx4096m'\r\nSCALA_HOME=/usr/local/bin/scala\r\nSCALA_VERSION=2.12.5\r\ntype -p scala => /usr/local/Cellar/scala/2.12.5/libexec/bin/scala\r\n\r\nIf i update my maven pom to use 2.12.5 libraries the compiler goes into an infinite loop ... the last couple of iterations are shown below.\r\nIf i switch back to 2.12.4 everything compiles and works. \r\nNot sure which of the 10 files is causing the problem\r\nmvn -X doesn't provide much additional information\r\n\r\nIntellij does not have a problem, itself \r\n\r\n --- scala-maven-plugin:3.3.2:testCompile (scala-test-compile)\r\nproj/src/test/scala:-1: info: compiling\r\n[INFO] Compiling 10 source files to proj/target/test-classes at 1521726217998\r\n[ERROR] error: java.lang.StackOverflowError\r\n[INFO] \tat scala.tools.nsc.typechecker.RefChecks$RefCheckTransformer.transform(RefChecks.scala:1651)\r\n[INFO] \tat scala.tools.nsc.typechecker.RefChecks$RefCheckTransformer.transform(RefChecks.scala:107)\r\n[INFO] \tat scala.reflect.internal.Trees.itransform(Trees.scala:1366)\r\n[INFO] \tat scala.reflect.internal.Trees.itransform$(Trees.scala:1357)\r\n[INFO] \tat scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:18)\r\n[INFO] \tat scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:18)\r\n[INFO] \tat scala.reflect.api.Trees$Transformer.transform(Trees.scala:2555)\r\n[INFO] \tat scala.tools.nsc.typechecker.RefChecks$RefCheckTransformer.transform(RefChecks.scala:1808)\r\n[INFO] \tat scala.tools.nsc.typechecker.RefChecks$RefCheckTransformer.transform(RefChecks.scala:107)\r\n[INFO] \tat scala.reflect.internal.Trees.itransform(Trees.scala:1368)\r\n[INFO] \tat scala.reflect.internal.Trees.itransform$(Trees.scala:1357)\r\n[INFO] \tat scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:18)\r\n[INFO] \tat scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:18)\r\n[INFO] \tat scala.reflect.api.Trees$Transformer.transform(Trees.scala:2555)\r\n[INFO] \tat scala.tools.nsc.typechecker.RefChecks$RefCheckTransformer.transform(RefChecks.scala:1808)\r\n[INFO] \tat scala.tools.nsc.typechecker.RefChecks$RefCheckTransformer.transform(RefChecks.scala:107)\r\n[INFO] \tat scala.reflect.internal.Trees.itransform(Trees.scala:1366)\r\n[INFO] \tat scala.reflect.internal.Trees.itransform$(Trees.scala:1357)\r\n[INFO] \tat scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:18)\r\n[INFO] \tat scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:18)\r\n[INFO] \tat scala.reflect.api.Trees$Transformer.transform(Trees.scala:2555)\r\n..."}}
{"actor":{"display_login":"Brassrat"}}