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
4,251
Issues
4,251
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
391
Merge Requests
391
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
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
Glasgow Haskell Compiler
GHC
Commits
31675c9a
Commit
31675c9a
authored
Jul 27, 2011
by
Simon Peyton Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Trac
#5281
parent
55271bce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
testsuite/tests/rename/should_fail/T5281.hs
testsuite/tests/rename/should_fail/T5281.hs
+8
-0
testsuite/tests/rename/should_fail/T5281.stderr
testsuite/tests/rename/should_fail/T5281.stderr
+5
-0
testsuite/tests/rename/should_fail/all.T
testsuite/tests/rename/should_fail/all.T
+1
-0
No files found.
testsuite/tests/rename/should_fail/T5281.hs
0 → 100644
View file @
31675c9a
-- The issue here is getting an error message with a decent source location
module
T5281
where
x
=
catch
-- This use of catch
-- (a) comes from the implicitly imported Prelue
-- (b) this Prelude.catch is deprecated
testsuite/tests/rename/should_fail/T5281.stderr
0 → 100644
View file @
31675c9a
T5281.hs:2:8:
Warning: In the use of `catch'
(imported from Prelude, but defined in System.IO.Error):
Deprecated: "Please use the new exceptions variant, Control.Exception.catch"
testsuite/tests/rename/should_fail/all.T
View file @
31675c9a
...
...
@@ -81,3 +81,4 @@ test('mc13', normal, compile_fail, [''])
test
('
mc14
',
normal
,
compile_fail
,
[''])
test
('
T5211
',
normal
,
compile
,
[''])
# Warnings only
test
('
T1595a
',
normal
,
compile_fail
,
[''])
test
('
T5281
',
normal
,
compile
,
[''])
# Warnings only
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment