Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
28620ba6
Commit
28620ba6
authored
Feb 22, 2016
by
thomie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testsuite: delete Windows line endings [skip ci] (#11631)
parent
42f06f68
Changes
72
Hide whitespace changes
Inline
Side-by-side
Showing
72 changed files
with
400 additions
and
400 deletions
+400
-400
testsuite/tests/patsyn/should_fail/T9705-1.stderr
testsuite/tests/patsyn/should_fail/T9705-1.stderr
+4
-4
testsuite/tests/patsyn/should_fail/T9705-2.stderr
testsuite/tests/patsyn/should_fail/T9705-2.stderr
+4
-4
testsuite/tests/polykinds/T7272.hs-boot
testsuite/tests/polykinds/T7272.hs-boot
+5
-5
testsuite/tests/profiling/should_run/T5363.stdout-ws-32
testsuite/tests/profiling/should_run/T5363.stdout-ws-32
+1
-1
testsuite/tests/quotes/T3572.stdout
testsuite/tests/quotes/T3572.stdout
+1
-1
testsuite/tests/quotes/TH_ppr1.stdout
testsuite/tests/quotes/TH_ppr1.stdout
+14
-14
testsuite/tests/rebindable/rebindable7.stdout
testsuite/tests/rebindable/rebindable7.stdout
+1
-1
testsuite/tests/rename/should_compile/T1972.stderr
testsuite/tests/rename/should_compile/T1972.stderr
+12
-12
testsuite/tests/rename/should_compile/T5331.stderr
testsuite/tests/rename/should_compile/T5331.stderr
+12
-12
testsuite/tests/rename/should_compile/T5592.stdout
testsuite/tests/rename/should_compile/T5592.stdout
+1
-1
testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr
...te/tests/rename/should_fail/RnStaticPointersFail02.stderr
+3
-3
testsuite/tests/rename/should_fail/T5372.stderr
testsuite/tests/rename/should_fail/T5372.stderr
+8
-8
testsuite/tests/rename/should_fail/T5533.stderr
testsuite/tests/rename/should_fail/T5533.stderr
+4
-4
testsuite/tests/rename/should_fail/T7906.stderr
testsuite/tests/rename/should_fail/T7906.stderr
+4
-4
testsuite/tests/rename/should_fail/T9177.stderr
testsuite/tests/rename/should_fail/T9177.stderr
+12
-12
testsuite/tests/rename/should_fail/T9177a.stderr
testsuite/tests/rename/should_fail/T9177a.stderr
+4
-4
testsuite/tests/rename/should_fail/mc14.stderr
testsuite/tests/rename/should_fail/mc14.stderr
+2
-2
testsuite/tests/rename/should_fail/rn_dup.stderr
testsuite/tests/rename/should_fail/rn_dup.stderr
+30
-30
testsuite/tests/rename/should_fail/rnfail024.stderr
testsuite/tests/rename/should_fail/rnfail024.stderr
+4
-4
testsuite/tests/rename/should_fail/rnfail044.stderr
testsuite/tests/rename/should_fail/rnfail044.stderr
+7
-7
testsuite/tests/rename/should_fail/rnfail049.stderr
testsuite/tests/rename/should_fail/rnfail049.stderr
+2
-2
testsuite/tests/rename/should_fail/rnfail050.stderr
testsuite/tests/rename/should_fail/rnfail050.stderr
+2
-2
testsuite/tests/rts/T10672/cxxy.cpp
testsuite/tests/rts/T10672/cxxy.cpp
+23
-23
testsuite/tests/rts/derefnull.stdout-x86_64-unknown-mingw32
testsuite/tests/rts/derefnull.stdout-x86_64-unknown-mingw32
+1
-1
testsuite/tests/rts/divbyzero.stdout-x86_64-unknown-mingw32
testsuite/tests/rts/divbyzero.stdout-x86_64-unknown-mingw32
+1
-1
testsuite/tests/safeHaskell/ghci/p10.stderr
testsuite/tests/safeHaskell/ghci/p10.stderr
+2
-2
testsuite/tests/safeHaskell/ghci/p9.stderr
testsuite/tests/safeHaskell/ghci/p9.stderr
+2
-2
testsuite/tests/simplCore/should_compile/T5996.stdout
testsuite/tests/simplCore/should_compile/T5996.stdout
+2
-2
testsuite/tests/simplCore/should_compile/T8848a.stderr
testsuite/tests/simplCore/should_compile/T8848a.stderr
+6
-6
testsuite/tests/simplCore/should_run/T11172.stdout
testsuite/tests/simplCore/should_run/T11172.stdout
+1
-1
testsuite/tests/simplCore/should_run/T5441.stdout
testsuite/tests/simplCore/should_run/T5441.stdout
+1
-1
testsuite/tests/simplCore/should_run/T5453.stdout
testsuite/tests/simplCore/should_run/T5453.stdout
+1
-1
testsuite/tests/th/T2700.stderr
testsuite/tests/th/T2700.stderr
+1
-1
testsuite/tests/th/T3920.stdout
testsuite/tests/th/T3920.stdout
+2
-2
testsuite/tests/th/T5217.stderr
testsuite/tests/th/T5217.stderr
+14
-14
testsuite/tests/th/T5410.stdout
testsuite/tests/th/T5410.stdout
+1
-1
testsuite/tests/th/T7241.stderr
testsuite/tests/th/T7241.stderr
+8
-8
testsuite/tests/th/T8625.stdout
testsuite/tests/th/T8625.stdout
+2
-2
testsuite/tests/th/T8932.stderr
testsuite/tests/th/T8932.stderr
+5
-5
testsuite/tests/th/TH_linePragma.stderr
testsuite/tests/th/TH_linePragma.stderr
+2
-2
testsuite/tests/th/TH_pragma.stderr
testsuite/tests/th/TH_pragma.stderr
+16
-16
testsuite/tests/th/TH_viewPatPrint.stdout
testsuite/tests/th/TH_viewPatPrint.stdout
+2
-2
testsuite/tests/typecheck/should_compile/T11254.stderr
testsuite/tests/typecheck/should_compile/T11254.stderr
+15
-15
testsuite/tests/typecheck/should_fail/T11355.stderr
testsuite/tests/typecheck/should_fail/T11355.stderr
+9
-9
testsuite/tests/typecheck/should_fail/T2538.stderr
testsuite/tests/typecheck/should_fail/T2538.stderr
+18
-18
testsuite/tests/typecheck/should_fail/T5957.stderr
testsuite/tests/typecheck/should_fail/T5957.stderr
+6
-6
testsuite/tests/typecheck/should_fail/T7019.stderr
testsuite/tests/typecheck/should_fail/T7019.stderr
+5
-5
testsuite/tests/typecheck/should_fail/T7019a.stderr
testsuite/tests/typecheck/should_fail/T7019a.stderr
+7
-7
testsuite/tests/typecheck/should_fail/T7809.stderr
testsuite/tests/typecheck/should_fail/T7809.stderr
+6
-6
testsuite/tests/typecheck/should_fail/T8806.stderr
testsuite/tests/typecheck/should_fail/T8806.stderr
+10
-10
testsuite/tests/typecheck/should_fail/T9196.stderr
testsuite/tests/typecheck/should_fail/T9196.stderr
+12
-12
testsuite/tests/typecheck/should_fail/mc22.stderr
testsuite/tests/typecheck/should_fail/mc22.stderr
+15
-15
testsuite/tests/typecheck/should_fail/mc25.stderr
testsuite/tests/typecheck/should_fail/mc25.stderr
+9
-9
testsuite/tests/typecheck/should_fail/tcfail011.stderr
testsuite/tests/typecheck/should_fail/tcfail011.stderr
+2
-2
testsuite/tests/typecheck/should_fail/tcfail021.stderr
testsuite/tests/typecheck/should_fail/tcfail021.stderr
+4
-4
testsuite/tests/typecheck/should_fail/tcfail037.stderr
testsuite/tests/typecheck/should_fail/tcfail037.stderr
+7
-7
testsuite/tests/typecheck/should_fail/tcfail088.stderr
testsuite/tests/typecheck/should_fail/tcfail088.stderr
+4
-4
testsuite/tests/typecheck/should_fail/tcfail127.stderr
testsuite/tests/typecheck/should_fail/tcfail127.stderr
+6
-6
testsuite/tests/typecheck/should_fail/tcfail184.stderr
testsuite/tests/typecheck/should_fail/tcfail184.stderr
+6
-6
testsuite/tests/typecheck/should_fail/tcfail195.stderr
testsuite/tests/typecheck/should_fail/tcfail195.stderr
+5
-5
testsuite/tests/typecheck/should_fail/tcfail196.stderr
testsuite/tests/typecheck/should_fail/tcfail196.stderr
+6
-6
testsuite/tests/typecheck/should_fail/tcfail197.stderr
testsuite/tests/typecheck/should_fail/tcfail197.stderr
+6
-6
testsuite/tests/typecheck/should_run/T1735.stdout
testsuite/tests/typecheck/should_run/T1735.stdout
+1
-1
testsuite/tests/typecheck/should_run/T3500a.stdout
testsuite/tests/typecheck/should_run/T3500a.stdout
+1
-1
testsuite/tests/typecheck/should_run/T3500b.stdout
testsuite/tests/typecheck/should_run/T3500b.stdout
+1
-1
testsuite/tests/typecheck/should_run/T7023.stdout
testsuite/tests/typecheck/should_run/T7023.stdout
+1
-1
testsuite/tests/typecheck/should_run/tcrun032.stdout
testsuite/tests/typecheck/should_run/tcrun032.stdout
+2
-2
testsuite/tests/typecheck/should_run/tcrun033.stdout
testsuite/tests/typecheck/should_run/tcrun033.stdout
+1
-1
testsuite/tests/typecheck/should_run/tcrun038.stdout
testsuite/tests/typecheck/should_run/tcrun038.stdout
+1
-1
testsuite/tests/typecheck/should_run/tcrun039.stdout
testsuite/tests/typecheck/should_run/tcrun039.stdout
+2
-2
testsuite/tests/typecheck/should_run/testeq2.stdout
testsuite/tests/typecheck/should_run/testeq2.stdout
+1
-1
testsuite/tests/typecheck/testeq1/typecheck.testeq1.stdout
testsuite/tests/typecheck/testeq1/typecheck.testeq1.stdout
+1
-1
No files found.
testsuite/tests/patsyn/should_fail/T9705-1.stderr
View file @
28620ba6
T9705-1.hs:3:5: error:
Pattern synonyms not allowed in class declaration:
pattern P = ()
T9705-1.hs:3:5: error:
Pattern synonyms not allowed in class declaration:
pattern P = ()
testsuite/tests/patsyn/should_fail/T9705-2.stderr
View file @
28620ba6
T9705-2.hs:6:5: error:
Pattern synonyms not allowed in instance declaration:
pattern P = ()
T9705-2.hs:6:5: error:
Pattern synonyms not allowed in instance declaration:
pattern P = ()
testsuite/tests/polykinds/T7272.hs-boot
View file @
28620ba6
{-# LANGUAGE PolyKinds, RoleAnnotations #-}
module
T7272
where
class
C
(
a
::
k
)
{-# LANGUAGE PolyKinds, RoleAnnotations #-}
module
T7272
where
class
C
(
a
::
k
)
testsuite/tests/profiling/should_run/T5363.stdout-ws-32
View file @
28620ba6
194516864
194516864
testsuite/tests/quotes/T3572.stdout
View file @
28620ba6
data Void_0
data Void_0
testsuite/tests/quotes/TH_ppr1.stdout
View file @
28620ba6
Main.f Main.u1 Main.u2
Main.u1 `Main.f` Main.u2
(Main..+.) Main.u1 Main.u2
Main.u1 Main..+. Main.u2
(GHC.Types.:) Main.u1 Main.u2
Main.u1 GHC.Types.: Main.u2
\((GHC.Types.:) x_0 xs_1) -> x_0
\(x_0 GHC.Types.: xs_1) -> x_0
class Foo_0 a_1 b_2
where foo_3 :: a_1 -> b_2
\x_0 -> (x_0, 1 `x_0` 2)
\(+_0) -> ((+_0), 1 +_0 2)
(Main.f, 1 `Main.f` 2)
((Main..+.), 1 Main..+. 2)
Main.f Main.u1 Main.u2
Main.u1 `Main.f` Main.u2
(Main..+.) Main.u1 Main.u2
Main.u1 Main..+. Main.u2
(GHC.Types.:) Main.u1 Main.u2
Main.u1 GHC.Types.: Main.u2
\((GHC.Types.:) x_0 xs_1) -> x_0
\(x_0 GHC.Types.: xs_1) -> x_0
class Foo_0 a_1 b_2
where foo_3 :: a_1 -> b_2
\x_0 -> (x_0, 1 `x_0` 2)
\(+_0) -> ((+_0), 1 +_0 2)
(Main.f, 1 `Main.f` 2)
((Main..+.), 1 Main..+. 2)
testsuite/tests/rebindable/rebindable7.stdout
View file @
28620ba6
6
6
testsuite/tests/rename/should_compile/T1972.stderr
View file @
28620ba6
T1972.hs:12:3: warning:
This binding for ‘name’ shadows the existing binding
defined at T1972.hs:9:19
T1972.hs:14:3: warning:
This binding for ‘mapAccumL’ shadows the existing bindings
imported from ‘Data.List’ at T1972.hs:7:1-16
(and originally defined in ‘Data.Traversable’)
defined at T1972.hs:16:1
T1972.hs:20:10: warning: Defined but not used: ‘c’
T1972.hs:12:3: warning:
This binding for ‘name’ shadows the existing binding
defined at T1972.hs:9:19
T1972.hs:14:3: warning:
This binding for ‘mapAccumL’ shadows the existing bindings
imported from ‘Data.List’ at T1972.hs:7:1-16
(and originally defined in ‘Data.Traversable’)
defined at T1972.hs:16:1
T1972.hs:20:10: warning: Defined but not used: ‘c’
testsuite/tests/rename/should_compile/T5331.stderr
View file @
28620ba6
T5331.hs:8:17: warning:
Unused quantified type variable ‘a’
In the definition of data constructor ‘S1’
T5331.hs:11:16: warning:
Unused quantified type variable ‘a’
In the type ‘forall a. W’
T5331.hs:13:13: warning:
Unused quantified type variable ‘a’
In the type ‘forall a. Int’
T5331.hs:8:17: warning:
Unused quantified type variable ‘a’
In the definition of data constructor ‘S1’
T5331.hs:11:16: warning:
Unused quantified type variable ‘a’
In the type ‘forall a. W’
T5331.hs:13:13: warning:
Unused quantified type variable ‘a’
In the type ‘forall a. Int’
testsuite/tests/rename/should_compile/T5592.stdout
View file @
28620ba6
MyRecord {field = "Hello, world!"}
MyRecord {field = "Hello, world!"}
testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr
View file @
28620ba6
RnStaticPointersFail02.hs:5:12: error:
Data constructor not in scope: T
RnStaticPointersFail02.hs:5:12: error:
Data constructor not in scope: T
testsuite/tests/rename/should_fail/T5372.stderr
View file @
28620ba6
T5372.hs:4:11: error:
Not in scope: data constructor ‘MkS’
Perhaps you meant ‘T5372a.MkS’ (imported from T5372a)
T5372.hs:4:17: error:
Not in scope: ‘x’
Perhaps you meant ‘T5372a.x’ (imported from T5372a)
T5372.hs:4:11: error:
Not in scope: data constructor ‘MkS’
Perhaps you meant ‘T5372a.MkS’ (imported from T5372a)
T5372.hs:4:17: error:
Not in scope: ‘x’
Perhaps you meant ‘T5372a.x’ (imported from T5372a)
testsuite/tests/rename/should_fail/T5533.stderr
View file @
28620ba6
T5533.hs:4:1: error:
The type signature for ‘f2’ lacks an accompanying binding
(The type signature must be given where ‘f2’ is declared)
T5533.hs:4:1: error:
The type signature for ‘f2’ lacks an accompanying binding
(The type signature must be given where ‘f2’ is declared)
testsuite/tests/rename/should_fail/T7906.stderr
View file @
28620ba6
T7906.hs:5:16: error:
The INLINABLE pragma for ‘foo’ lacks an accompanying binding
(The INLINABLE pragma must be given where ‘foo’ is declared)
T7906.hs:5:16: error:
The INLINABLE pragma for ‘foo’ lacks an accompanying binding
(The INLINABLE pragma must be given where ‘foo’ is declared)
testsuite/tests/rename/should_fail/T9177.stderr
View file @
28620ba6
T9177.hs:4:13: error:
Not in scope: type variable ‘int’
Perhaps you meant type constructor or class ‘Int’ (imported from Prelude)
T9177.hs:7:14: error:
Not in scope: type variable ‘integerr’
Perhaps you meant type constructor or class ‘Integer’ (imported from Prelude)
T9177.hs:16:6: error:
Not in scope: data constructor ‘Fun’
Perhaps you meant variable ‘fun’ (line 20)
T9177.hs:4:13: error:
Not in scope: type variable ‘int’
Perhaps you meant type constructor or class ‘Int’ (imported from Prelude)
T9177.hs:7:14: error:
Not in scope: type variable ‘integerr’
Perhaps you meant type constructor or class ‘Integer’ (imported from Prelude)
T9177.hs:16:6: error:
Not in scope: data constructor ‘Fun’
Perhaps you meant variable ‘fun’ (line 20)
testsuite/tests/rename/should_fail/T9177a.stderr
View file @
28620ba6
T9177a.hs:3:8: error: Variable not in scope: bar
T9177a.hs:4:8: error: Data constructor not in scope: Fun
T9177a.hs:3:8: error: Variable not in scope: bar
T9177a.hs:4:8: error: Data constructor not in scope: Fun
testsuite/tests/rename/should_fail/mc14.stderr
View file @
28620ba6
mc14.hs:14:49: error: Variable not in scope: f :: [a] -> m (t0 a)
mc14.hs:14:49: error: Variable not in scope: f :: [a] -> m (t0 a)
testsuite/tests/rename/should_fail/rn_dup.stderr
View file @
28620ba6
rn_dup.hs:9:10: error:
Multiple declarations of ‘MkT’
Declared at: rn_dup.hs:7:10
rn_dup.hs:9:10
rn_dup.hs:9:10: error:
Multiple declarations of ‘MkT’
Declared at: rn_dup.hs:7:16
rn_dup.hs:9:10
rn_dup.hs:12:16: error:
Multiple declarations of ‘rf’
Declared at: rn_dup.hs:11:16
rn_dup.hs:12:16
rn_dup.hs:12:16: error:
Multiple declarations of ‘rf’
Declared at: rn_dup.hs:11:27
rn_dup.hs:12:16
rn_dup.hs:17:3: error:
Multiple declarations of ‘CT’
Declared at: rn_dup.hs:15:3
rn_dup.hs:17:3
rn_dup.hs:18:3: error:
Multiple declarations of ‘f’
Declared at: rn_dup.hs:16:3
rn_dup.hs:18:3
rn_dup.hs:9:10: error:
Multiple declarations of ‘MkT’
Declared at: rn_dup.hs:7:10
rn_dup.hs:9:10
rn_dup.hs:9:10: error:
Multiple declarations of ‘MkT’
Declared at: rn_dup.hs:7:16
rn_dup.hs:9:10
rn_dup.hs:12:16: error:
Multiple declarations of ‘rf’
Declared at: rn_dup.hs:11:16
rn_dup.hs:12:16
rn_dup.hs:12:16: error:
Multiple declarations of ‘rf’
Declared at: rn_dup.hs:11:27
rn_dup.hs:12:16
rn_dup.hs:17:3: error:
Multiple declarations of ‘CT’
Declared at: rn_dup.hs:15:3
rn_dup.hs:17:3
rn_dup.hs:18:3: error:
Multiple declarations of ‘f’
Declared at: rn_dup.hs:16:3
rn_dup.hs:18:3
testsuite/tests/rename/should_fail/rnfail024.stderr
View file @
28620ba6
rnfail024.hs:3:1: error:
The type signature for ‘sig_without_a_defn’
lacks an accompanying binding
rnfail024.hs:3:1: error:
The type signature for ‘sig_without_a_defn’
lacks an accompanying binding
testsuite/tests/rename/should_fail/rnfail044.stderr
View file @
28620ba6
rnfail044.hs:5:12: error:
Ambiguous occurrence ‘splitAt’
It could refer to either ‘Data.List.splitAt’,
imported from ‘Prelude’ at rnfail044.hs:5:8
(and originally defined in ‘GHC.List’)
or ‘A.splitAt’, defined at rnfail044.hs:8:3
rnfail044.hs:5:12: error:
Ambiguous occurrence ‘splitAt’
It could refer to either ‘Data.List.splitAt’,
imported from ‘Prelude’ at rnfail044.hs:5:8
(and originally defined in ‘GHC.List’)
or ‘A.splitAt’, defined at rnfail044.hs:8:3
testsuite/tests/rename/should_fail/rnfail049.stderr
View file @
28620ba6
rnfail049.hs:12:49: error: Variable not in scope: f :: [a] -> [[a]]
rnfail049.hs:12:49: error: Variable not in scope: f :: [a] -> [[a]]
testsuite/tests/rename/should_fail/rnfail050.stderr
View file @
28620ba6
rnfail050.hs:10:37: error: Variable not in scope: f :: [a] -> [a]
rnfail050.hs:10:37: error: Variable not in scope: f :: [a] -> [a]
testsuite/tests/rts/T10672/cxxy.cpp
View file @
28620ba6
// Copyright (C) 2015, Luke Iannini
#include <iostream>
#include <exception>
#include <string.h>
// Make sure can call unmangled names from Haskell's FFI
extern
"C"
{
int
talkToCxx
()
{
try
{
throw
20
;
}
catch
(
int
e
)
{
std
::
cout
<<
"An exception occurred. Exception Nr. "
<<
e
<<
'\n'
;
}
std
::
cout
<<
"Hello From C++!"
;
}
}
// Copyright (C) 2015, Luke Iannini
#include <iostream>
#include <exception>
#include <string.h>
// Make sure can call unmangled names from Haskell's FFI
extern
"C"
{
int
talkToCxx
()
{
try
{
throw
20
;
}
catch
(
int
e
)
{
std
::
cout
<<
"An exception occurred. Exception Nr. "
<<
e
<<
'\n'
;
}
std
::
cout
<<
"Hello From C++!"
;
}
}
testsuite/tests/rts/derefnull.stdout-x86_64-unknown-mingw32
View file @
28620ba6
Segmentation fault/access violation in generated code
Segmentation fault/access violation in generated code
testsuite/tests/rts/divbyzero.stdout-x86_64-unknown-mingw32
View file @
28620ba6
divide by zero
divide by zero
testsuite/tests/safeHaskell/ghci/p10.stderr
View file @
28620ba6
<interactive>:9:1: error: Variable not in scope: b
<interactive>:9:1: error: Variable not in scope: b
testsuite/tests/safeHaskell/ghci/p9.stderr
View file @
28620ba6
<interactive>:9:1: error: Variable not in scope: b
<interactive>:9:1: error: Variable not in scope: b
testsuite/tests/simplCore/should_compile/T5996.stdout
View file @
28620ba6
y2
y2 = x2
y2
y2 = x2
testsuite/tests/simplCore/should_compile/T8848a.stderr
View file @
28620ba6
==================== Tidy Core rules ====================
"SPEC f" [ALWAYS]
forall (@ b) ($dOrd :: Ord [Int]). f @ [Int] @ b $dOrd = f_$sf @ b
==================== Tidy Core rules ====================
"SPEC f" [ALWAYS]
forall (@ b) ($dOrd :: Ord [Int]). f @ [Int] @ b $dOrd = f_$sf @ b
testsuite/tests/simplCore/should_run/T11172.stdout
View file @
28620ba6
Right (Left (),JSONState [] () ())
Right (Left (),JSONState [] () ())
testsuite/tests/simplCore/should_run/T5441.stdout
View file @
28620ba6
0
0
testsuite/tests/simplCore/should_run/T5453.stdout
View file @
28620ba6
OK
OK
testsuite/tests/th/T2700.stderr
View file @
28620ba6
foo :: (GHC.Types.Int -> GHC.Types.Bool) -> GHC.Types.Bool
foo :: (GHC.Types.Int -> GHC.Types.Bool) -> GHC.Types.Bool
testsuite/tests/th/T3920.stdout
View file @
28620ba6
type family T_0 :: (* -> * -> * -> *) -> (* -> *) -> *
type family Main.S :: (* -> * -> * -> *) -> (* -> *) -> *
type family T_0 :: (* -> * -> * -> *) -> (* -> *) -> *
type family Main.S :: (* -> * -> * -> *) -> (* -> *) -> *
testsuite/tests/th/T5217.stderr
View file @
28620ba6
T5217.hs:(6,3)-(9,53): Splicing declarations
[d| data T a b
where
T1 :: Int -> T Int Char
T2 :: a -> T a a
T3 :: a -> T [a] a
T4 :: a -> b -> T b [a] |]
======>
data T a b
where
T1 :: Int -> T Int Char
T2 :: forall a. a -> T a a
T3 :: forall a. a -> T [a] a
T4 :: forall a b. a -> b -> T b [a]
T5217.hs:(6,3)-(9,53): Splicing declarations
[d| data T a b
where
T1 :: Int -> T Int Char
T2 :: a -> T a a
T3 :: a -> T [a] a
T4 :: a -> b -> T b [a] |]
======>
data T a b
where
T1 :: Int -> T Int Char
T2 :: forall a. a -> T a a
T3 :: forall a. a -> T [a] a
T4 :: forall a b. a -> b -> T b [a]
testsuite/tests/th/T5410.stdout
View file @
28620ba6
<function>
<function>
testsuite/tests/th/T7241.stderr
View file @
28620ba6
T7241.hs:7:3: error:
Same exact name in multiple name-spaces:
type constructor or class ‘Foo’, declared at: T7241.hs:7:3
data constructor ‘Foo’, declared at: T7241.hs:7:3
Probable cause: you bound a unique Template Haskell name (NameU),
perhaps via newName, in different name-spaces.
If that's it, then -ddump-splices might be useful
T7241.hs:7:3: error:
Same exact name in multiple name-spaces:
type constructor or class ‘Foo’, declared at: T7241.hs:7:3
data constructor ‘Foo’, declared at: T7241.hs:7:3
Probable cause: you bound a unique Template Haskell name (NameU),
perhaps via newName, in different name-spaces.
If that's it, then -ddump-splices might be useful
testsuite/tests/th/T8625.stdout
View file @
28620ba6
[InstanceD [AppT (AppT EqualityT (VarT y_0)) (AppT (AppT ArrowT (VarT t_1)) (VarT t_1))] (AppT (ConT Ghci1.Member) (ConT GHC.Types.Bool)) []]
[SigD f_4 (ForallT [PlainTV y_2,PlainTV t_3] [AppT (AppT EqualityT (VarT y_2)) (AppT (AppT ArrowT (VarT t_3)) (VarT t_3))] (AppT (AppT ArrowT (VarT y_2)) (VarT t_3))),FunD f_4 [Clause [VarP x_5] (NormalB (VarE x_5)) []]]
[InstanceD [AppT (AppT EqualityT (VarT y_0)) (AppT (AppT ArrowT (VarT t_1)) (VarT t_1))] (AppT (ConT Ghci1.Member) (ConT GHC.Types.Bool)) []]
[SigD f_4 (ForallT [PlainTV y_2,PlainTV t_3] [AppT (AppT EqualityT (VarT y_2)) (AppT (AppT ArrowT (VarT t_3)) (VarT t_3))] (AppT (AppT ArrowT (VarT y_2)) (VarT t_3))),FunD f_4 [Clause [VarP x_5] (NormalB (VarE x_5)) []]]
testsuite/tests/th/T8932.stderr
View file @
28620ba6
T8932.hs:11:1: error:
Multiple declarations of ‘foo’
Declared at: T8932.hs:5:3
T8932.hs:11:1
T8932.hs:11:1: error:
Multiple declarations of ‘foo’
Declared at: T8932.hs:5:3
T8932.hs:11:1
testsuite/tests/th/TH_linePragma.stderr
View file @
28620ba6
virtual file:42:1: error: Variable not in scope: doesntExist
virtual file:42:1: error: Variable not in scope: doesntExist
testsuite/tests/th/TH_pragma.stderr
View file @
28620ba6
TH_pragma.hs:(6,4)-(8,26): Splicing declarations
[d| foo :: Int -> Int
{-# NOINLINE foo #-}
foo x = x + 1 |]
======>
foo :: Int -> Int
{-# NOINLINE foo #-}
foo x = (x + 1)
TH_pragma.hs:(10,4)-(12,31): Splicing declarations
[d| bar :: Num a => a -> a
{-# SPECIALIZE INLINE[~1] bar :: Float -> Float #-}
bar x = x * 10 |]
======>
bar :: forall a. Num a => a -> a
{-# SPECIALIZE INLINE[~1] bar :: Float -> Float #-}
bar x = (x * 10)
TH_pragma.hs:(6,4)-(8,26): Splicing declarations
[d| foo :: Int -> Int
{-# NOINLINE foo #-}
foo x = x + 1 |]
======>
foo :: Int -> Int
{-# NOINLINE foo #-}
foo x = (x + 1)
TH_pragma.hs:(10,4)-(12,31): Splicing declarations
[d| bar :: Num a => a -> a
{-# SPECIALIZE INLINE[~1] bar :: Float -> Float #-}
bar x = x * 10 |]
======>
bar :: forall a. Num a => a -> a
{-# SPECIALIZE INLINE[~1] bar :: Float -> Float #-}
bar x = (x * 10)
testsuite/tests/th/TH_viewPatPrint.stdout
View file @
28620ba6
ViewP (VarE GHC.Base.id) (VarP x_0)
(GHC.Base.id -> x_0)
ViewP (VarE GHC.Base.id) (VarP x_0)
(GHC.Base.id -> x_0)
testsuite/tests/typecheck/should_compile/T11254.stderr
View file @
28620ba6
T11254.hs:16:10: warning:
• Couldn't match type ‘Frac Int’ with ‘Int’
arising from the superclasses of an instance declaration
• In the instance declaration for ‘ID Rational’
T11254.hs:18:12: warning:
• Couldn't match type ‘GHC.Real.Ratio Integer’ with ‘Int’
Expected type: Rational -> Frac Rational
Actual type: Rational -> Rational
• When checking that instance signature for ‘embed’
is more general than its signature in the class
Instance sig: Rational -> Rational
Class sig: Rational -> Frac Rational
In the instance declaration for ‘ID Rational’
T11254.hs:16:10: warning:
• Couldn't match type ‘Frac Int’ with ‘Int’
arising from the superclasses of an instance declaration
• In the instance declaration for ‘ID Rational’
T11254.hs:18:12: warning:
• Couldn't match type ‘GHC.Real.Ratio Integer’ with ‘Int’
Expected type: Rational -> Frac Rational
Actual type: Rational -> Rational
• When checking that instance signature for ‘embed’
is more general than its signature in the class
Instance sig: Rational -> Rational
Class sig: Rational -> Frac Rational
In the instance declaration for ‘ID Rational’
testsuite/tests/typecheck/should_fail/T11355.stderr
View file @
28620ba6
T11355.hs:5:7: error:
• Illegal polymorphic type: forall (a :: TYPE t0). a
GHC doesn't yet support impredicative polymorphism
• In the expression:
const @_ @((forall a. a) -> forall a. a) () (id @(forall a. a))
In an equation for ‘foo’:
foo
= const @_ @((forall a. a) -> forall a. a) () (id @(forall a. a))
T11355.hs:5:7: error:
• Illegal polymorphic type: forall (a :: TYPE t0). a
GHC doesn't yet support impredicative polymorphism
• In the expression:
const @_ @((forall a. a) -> forall a. a) () (id @(forall a. a))
In an equation for ‘foo’:
foo
= const @_ @((forall a. a) -> forall a. a) () (id @(forall a. a))
testsuite/tests/typecheck/should_fail/T2538.stderr
View file @
28620ba6
T2538.hs:6:6: error:
• Illegal qualified type: Eq a => a -> a
Perhaps you intended to use RankNTypes or Rank2Types
• In the type signature:
f :: (Eq a => a -> a) -> Int
T2538.hs:9:6: error:
• Illegal qualified type: Eq a => a -> a
GHC doesn't yet support impredicative polymorphism
• In the type signature:
g :: [Eq a => a -> a] -> Int
T2538.hs:12:6: error:
• Illegal qualified type: Eq a => a -> a
GHC doesn't yet support impredicative polymorphism
• In the type signature:
h :: Ix (Eq a => a -> a) => Int
T2538.hs:6:6: error:
• Illegal qualified type: Eq a => a -> a
Perhaps you intended to use RankNTypes or Rank2Types
• In the type signature:
f :: (Eq a => a -> a) -> Int
T2538.hs:9:6: error:
• Illegal qualified type: Eq a => a -> a
GHC doesn't yet support impredicative polymorphism
• In the type signature:
g :: [Eq a => a -> a] -> Int
T2538.hs:12:6: error:
• Illegal qualified type: Eq a => a -> a
GHC doesn't yet support impredicative polymorphism
• In the type signature:
h :: Ix (Eq a => a -> a) => Int
testsuite/tests/typecheck/should_fail/T5957.stderr
View file @
28620ba6
T5957.hs:3:9: error:
• Illegal qualified type: Show a => a -> String
Perhaps you intended to use RankNTypes or Rank2Types
• In the type signature:
flex :: Int -> Show a => a -> String
T5957.hs:3:9: error:
• Illegal qualified type: Show a => a -> String
Perhaps you intended to use RankNTypes or Rank2Types
• In the type signature:
flex :: Int -> Show a => a -> String
testsuite/tests/typecheck/should_fail/T7019.stderr
View file @
28620ba6
T7019.hs:11:1: error: