Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
0166-Fix-broken-compiler-test.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0166-Fix-broken-compiler-test.patch of Package erlang
From cfa71450f1bf09a47fb34b634da6033615f48929 Mon Sep 17 00:00:00 2001 From: Richard Carlsson <carlsson.richard@gmail.com> Date: Mon, 21 Dec 2020 14:42:15 +0100 Subject: [PATCH 2/2] Fix broken compiler test --- lib/compiler/test/trycatch_SUITE.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/compiler/test/trycatch_SUITE.erl b/lib/compiler/test/trycatch_SUITE.erl index 8695946409..5aacef3310 100644 --- a/lib/compiler/test/trycatch_SUITE.erl +++ b/lib/compiler/test/trycatch_SUITE.erl @@ -1414,7 +1414,9 @@ test_raise_4(Expr) -> try do_test_raise_4(Expr) catch - exit:{exception,C,E,Stk}:Stk -> + exit:{exception,C,E,StkTerm}:Stk -> + %% it's not allowed to do the matching directly in the clause head + true = (Stk =:= StkTerm), try Expr() catch -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor