Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions compiler/qsc/src/interpret/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,9 @@ mod given_interpreter {
use expect_test::expect;
use indoc::indoc;

use qsc_ast::ast::{Expr, ExprKind, NodeId, Package, Path, Stmt, StmtKind, TopLevelNode};
use qsc_ast::ast::{
Expr, ExprKind, NodeId, Package, Path, PathKind, Stmt, StmtKind, TopLevelNode,
};
use qsc_data_structures::span::Span;
use qsc_frontend::compile::SourceMap;
use qsc_passes::PackageType;
Expand Down Expand Up @@ -1865,7 +1867,7 @@ mod given_interpreter {
let path_expr = Expr {
id: NodeId::default(),
span: Span::default(),
kind: Box::new(ExprKind::Path(Box::new(path))),
kind: Box::new(ExprKind::Path(PathKind::Ok(Box::new(path)))),
};
let expr = Expr {
id: NodeId::default(),
Expand Down
2 changes: 1 addition & 1 deletion compiler/qsc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub mod circuit {
}

pub mod parse {
pub use qsc_parse::top_level_nodes;
pub use qsc_parse::{completion, top_level_nodes};
}

pub mod partial_eval {
Expand Down
24 changes: 0 additions & 24 deletions compiler/qsc/src/packages/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,30 +237,6 @@ fn dependency_error() {
),
),
},
WithSource {
sources: [
Source {
name: "librarymain",
contents: "broken_syntax",
offset: 0,
},
],
error: Frontend(
Error(
Parse(
Error(
ExpectedItem(
Eof,
Span {
lo: 0,
hi: 13,
},
),
),
),
),
),
},
]
"#]]
.assert_debug_eq(&buildable_program.dependency_errors);
Expand Down
Loading
Loading