summaryrefslogtreecommitdiff
path: root/tests/snapshots/term__multifile__rich_color.snap
blob: 514be49db4285f37b2668468e3c2dbf7b39ac899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
source: codespan-reporting/tests/term.rs
expression: TEST_DATA.emit_color(&config)
---
{fg:Red bold bright}error{bold bright}: unknown builtin: `NATRAL`{/}
  {fg:Blue}┌─{/} Data/Nat.fun:7:13
  {fg:Blue}│{/}
{fg:Blue}7{/} {fg:Blue}│{/} {-# BUILTIN {fg:Red}NATRAL{/} Nat #-}
  {fg:Blue}│{/}             {fg:Red}^^^^^^{/} {fg:Red}unknown builtin{/}
  {fg:Blue}│{/}
  {fg:Blue}={/} there is a builtin with a similar name: `NATURAL`

{fg:Yellow bold bright}warning{bold bright}: unused parameter pattern: `n₂`{/}
   {fg:Blue}┌─{/} Data/Nat.fun:17:16
   {fg:Blue}│{/}
{fg:Blue}17{/} {fg:Blue}│{/} zero    - succ {fg:Yellow}n₂{/} = zero
   {fg:Blue}│{/}                {fg:Yellow}^^{/} {fg:Yellow}unused parameter{/}
   {fg:Blue}│{/}
   {fg:Blue}={/} consider using a wildcard pattern: `_`

{fg:Red bold bright}error[E0001]{bold bright}: unexpected type in application of `_+_`{/}
   {fg:Blue}┌─{/} Test.fun:4:11
   {fg:Blue}│{/}
{fg:Blue} 4{/} {fg:Blue}│{/} _ = 123 + {fg:Red}"hello"{/}
   {fg:Blue}│{/}           {fg:Red}^^^^^^^{/} {fg:Red}expected `Nat`, found `String`{/}
   {fg:Blue}│{/}
   {fg:Blue}┌─{/} Data/Nat.fun:11:1
   {fg:Blue}│{/}
{fg:Blue}11{/} {fg:Blue}│{/} _+_ : Nat → Nat → Nat
   {fg:Blue}│{/} {fg:Blue}---------------------{/} {fg:Blue}based on the definition of `_+_`{/}
   {fg:Blue}│{/}
   {fg:Blue}={/} expected type `Nat`
        found type `String`