From 51fc6645424bdbc26e22651dc142787c27ca0ea4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 25 Jun 2020 20:56:52 +0200 Subject: bin/return-assignment: recognize more haskell errors --- bin/return-assignment | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/return-assignment') diff --git a/bin/return-assignment b/bin/return-assignment index 3b96fec..9b4ed56 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -334,6 +334,8 @@ if [ "$6" = 'ERROR' ]; then t s@^.*Bad interface file: /usr/lib/ghc-[0-9.]\+/site-local/\([^/]\+\)-[0-9.]\+/.*$@\1@ t + s@^\s*It is a member of the package ‘\(\S\+\)\(-[^-]\+\)\{2\}’\s*$@\1@ + t d ' | \ tr ' ' '\n' | \ -- cgit v1.2.3-70-g09d2