summaryrefslogtreecommitdiff
path: root/tests_buffer
blob: c58268907b693326abf094c8b74de5b478ea9553 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
normalization/success/unit/TextShowEmpty Text/show ""
normalization/success/unit/TextLitNested1 λ(x: Text) → "${""}${x}"
normalization/success/unit/TextLitNested2 λ(x: Text) → "${"${x}"}"
normalization/success/unit/TextLitNested3 λ(x: Text) → "${"${""}"}${x}"
normalization/success/regression/NaturalFoldExtraArg Natural/fold 0 (Bool -> Bool) (λ(_ : (Bool -> Bool)) → λ(_ : Bool) → True) (λ(_ : Bool) → False) True
normalization/success/regression/TrickyBinderIdentity let T = Natural let ap = λ(f : T → List T) -> λ(x : T) -> f x in ap (λ(x : T) -> ap (λ(y : T) -> [x, y]) 1) 0
parser/success/unit/LetNoAnnot let x = y in e
parser/success/unit/LetAnnot let x: T = y in e
parser/success/unit/EmptyRecordLiteral {=}
parser/success/unit/ToMap toMap x
parser/success/unit/ToMapAnnot toMap x : T
parser/success/unit/VariableQuotedWithSpace ` x `
parser/failure/unit/AssertNoAnnotation assert
type-inference/failure/unit/FunctionTypeOutputTypeNotAType Bool -> 1
type-inference/failure/unit/NestedAnnotInnerWrong (0 : Bool) : Natural
type-inference/failure/unit/NestedAnnotOuterWrong (0 : Natural) : Bool
type-inference/failure/unit/MergeBool merge x True
type-inference/failure/unit/LetInSort \(x: let x = 0 in Sort) -> 1
type-inference/success/regression/RecursiveRecordTypeMergeTripleCollision { x : { a : Bool } } ⩓ { x : { b : Bool } } ⩓ { x : { c : Bool } }
type-inference/success/regression/Todo λ(todo : ∀(a : Type) → a) → todo
type-inference/success/regression/LambdaInLetScoping1 let T = 0 in λ(T : Type) → λ(x : T) → 1
type-inference/success/regression/LambdaInLetScoping2 (λ(T : Type) → let x = 0 in λ(x : T) → x) : ∀(T : Type) → ∀(x : T) → T

parser:
./a%20b
./"a%20b"
text interpolation and escapes
projection by expression unit tests
fix fakeurlencode test
s/QuotedVariable/VariableQuoted/

binary decoding:
decode old-style optional literals ?

import:
success/
    recover type error
    recover recursive import error
failure/
    don't recover cycle

normalization:
variables across import boundaries

typecheck:
something that involves destructuring a recordtype after merge
add some of the more complicated Prelude tests back, like List/enumerate
success/
    regression/
        somehow test that ({ x = { z = 1 } } ∧ { x = { y = 2 } }).x has a type
        somehow test that the recordtype from List/indexed has a type in both empty and nonempty cases
        somehow test types added to the Foo/build closures
failure/
    \(_: Bool) -> assert : (\(_: Bool) -> _) === (\(x: Bool) -> _)
    merge { x = λ(x : Bool) → x } (< x: Bool | y: Natural >.x True)
    merge { x = λ(_ : Bool) → _, y = 1 } < x = True | y >
    merge { x = True, y = 1 } < x | y >.x
    merge {x=...,y=...} <x>.x
    merge {x=...,y=...} <x:T>.x

equivalence: