This commit is contained in:
Folkert 2022-07-14 08:52:38 +02:00
parent e6019a1eca
commit 96414cb03f
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
5 changed files with 2 additions and 9 deletions

View file

@ -653,8 +653,6 @@ mod test {
Ident::from("List"),
Ident::from("Ok"),
Ident::from("Err"),
// Ident::from("Dict"),
// Ident::from("Set"),
Ident::from("Box"),
]
);
@ -680,8 +678,6 @@ mod test {
Ident::from("List"),
Ident::from("Ok"),
Ident::from("Err"),
// Ident::from("Dict"),
// Ident::from("Set"),
Ident::from("Box"),
]
);

View file

@ -18,8 +18,6 @@ pub fn eq_generic<'a>(
ctx: &mut Context<'a>,
layout: Layout<'a>,
) -> Stmt<'a> {
let _eq_todo = || todo!("Specialized `==` operator for `{:?}`", layout);
let main_body = match layout {
Layout::Builtin(Builtin::Int(_) | Builtin::Float(_) | Builtin::Bool | Builtin::Decimal) => {
unreachable!(

View file

@ -103,7 +103,6 @@ pub fn refcount_generic<'a>(
structure: Symbol,
) -> Stmt<'a> {
debug_assert!(is_rc_implemented_yet(&layout));
let _rc_todo = || todo!("Please update is_rc_implemented_yet for `{:?}`", layout);
match layout {
Layout::Builtin(Builtin::Int(_) | Builtin::Float(_) | Builtin::Bool | Builtin::Decimal) => {

View file

@ -1,6 +1,6 @@
interface AStar
exposes [findPath, Model, initialModel, cheapestOpen, reconstructPath]
imports [Quicksort, Dict.{ Dict }, Set.{ Set }]
imports [Quicksort]
findPath = \costFn, moveFn, start, end ->
astar costFn moveFn end (initialModel start)

View file

@ -1,6 +1,6 @@
app "test-astar"
packages { pf: "platform/main.roc" }
imports [pf.Task, AStar, Dict.{ Dict }, Set.{ Set }]
imports [pf.Task, AStar]
provides [main] to pf
main : Task.Task {} []