aboutsummaryrefslogtreecommitdiff
path: root/bin/tests/snapshots/main__eta_reduction.snap
diff options
context:
space:
mode:
Diffstat (limited to 'bin/tests/snapshots/main__eta_reduction.snap')
-rw-r--r--bin/tests/snapshots/main__eta_reduction.snap13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/tests/snapshots/main__eta_reduction.snap b/bin/tests/snapshots/main__eta_reduction.snap
new file mode 100644
index 0000000..6271980
--- /dev/null
+++ b/bin/tests/snapshots/main__eta_reduction.snap
@@ -0,0 +1,13 @@
1---
2source: bin/tests/main.rs
3expression: "&out"
4
5---
6[W07] Warning: This function expression is eta reducible
7 ╭─[data/eta_reduction.nix:11:9]
8
9 11 │ (map (x: double x) xs)
10 · ─────┬─────
11 · ╰─────── Found eta-reduction: double
12────╯
13