Skip to content

Renable staging tests #24799

@WojciechMazur

Description

@WojciechMazur

The CI only tests scala3-staging-new/compile, when trying to compile tests scala3-staging-new/Test/compile we get following error

[error] -- [E046] Cyclic Error: /Users/wmazur/projects/scala/scala3/staging/test/scala/quoted/staging/repl/StagingScriptedReplTests.scala:11:39 
[error] 11 |class StagingScriptedReplTests extends ReplTest(ReplTest.withStagingOptions) {
[error]    |                                       ^
[error]    |                             Cyclic reference involving val <import>
[error]    |
[error]    |                              Run with -explain-cyclic for more details.
[error]    |
[error]    | longer explanation available when compiling with `-explain`
[error] -- [E008] Not Found Error: /Users/wmazur/projects/scala/scala3/staging/test/scala/quoted/staging/repl/StagingScriptedReplTests.scala:5:19 
[error] 5 |import dotty.tools.repl.ReplTest
[error]   |       ^^^^^^^^^^^^^^^^
[error]   |       value repl is not a member of dotty.tools
[error] -- [E006] Not Found Error: /Users/wmazur/projects/scala/scala3/staging/test/scala/quoted/staging/repl/StagingScriptedReplTests.scala:14:64 
[error] 14 |  @Test def replStagingTests = scripts("/repl-staging").foreach(testFile)
[error]    |                                                                ^^^^^^^^
[error]    |                                                     Not found: testFile
[error]    |
[error]    | longer explanation available when compiling with `-explain`
[error] three errors found

Spotted when backporting fixed to 3.8.0-RC3

Metadata

Metadata

Assignees

No one assigned

    Labels

    itype:bugstat:needs triageEvery issue needs to have an "area" and "itype" label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions