Skip to content

[Bug]: Unhandleable IsolatedDeclarations Error #4040

@oovm

Description

@oovm

Reproduction link or steps

Fail to isolate type of

export const a: number = 1

export function b() {
    return a + 1
}

The error message does not show the reason

https://github.com/valkyrie-language/viking-script.rs/actions/runs/14297576985/job/40066717479#step:6:468

What is expected?

pass the test

What is actually happening?

called `Result::unwrap()` on an `Err` value: BatchedBuildDiagnostic([BuildDiagnostic { inner: UnhandleableError(IsolatedDeclarations error), source: None, severity: Error }])
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

System Info

[dependencies.rolldown]
git = "https://github.com/rolldown/rolldown"
features = ["serde"]
rev = "6903f9a3ce1d03323bd74f031723163ebbaa42fc"

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions