From fa19ee819f61c58f879b126121189bd62962f871 Mon Sep 17 00:00:00 2001 From: Bernhard Mueller Date: Tue, 27 Feb 2018 21:13:55 +0700 Subject: [PATCH] Handle situation when no compilable contracts are found in input file(s) --- myth | 3 +++ 1 file changed, 3 insertions(+) diff --git a/myth b/myth index eb2dca93..641bb466 100755 --- a/myth +++ b/myth @@ -351,6 +351,9 @@ elif (args.xrefs): elif (args.graph) or (args.fire_lasers): + if not len(contracts): + exitWithError(args.outform, "input files do not contain any valid contracts") + if (args.graph): try: