Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyclic reference involving val <import> redness in Intellij #4640

Open
joan38 opened this issue Mar 4, 2025 · 0 comments
Open

Cyclic reference involving val <import> redness in Intellij #4640

joan38 opened this issue Mar 4, 2025 · 0 comments

Comments

@joan38
Copy link
Collaborator

joan38 commented Mar 4, 2025

Reproduce

mkdir mill-issue-4640 && cd $_
curl -L https://repo1.maven.org/maven2/com/lihaoyi/mill-dist/0.13.0-M0/mill -o mill && chmod +x mill

cat > .mill-version <<EOF
0.13.0-M0-104-076678
EOF

cat > build.mill <<EOF
package build

import mill.*
import mill.scalalib.*

trait MyProjectModule extends ScalaModule:
  override def scalaVersion = "3.6.3"

  trait MyProjectTests extends ScalaTests with TestModule.Munit

object \`package\` extends RootModule with MyProjectModule:
  object test extends MyProjectTests
EOF

Image

IntelliJ IDEA 2024.3.4 (Community Edition)
Build #IC-243.25659.39, built on February 27, 2025
Runtime version: 21.0.6+8-b631.39 aarch64 (JCEF 122.1.9)
Non-Bundled Plugins:
  AntSupport (243.23654.117)
  com.intellij.uiDesigner (243.23654.189)
  com.jetbrains.space (243.25659.53)
  com.github.copilot (1.5.37-242)
  org.intellij.scala (2024.3.655)

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant