From 19fb7d67769debdb2fb42e05887711de276c4cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20So=CC=88derlund?= Date: Mon, 29 Oct 2018 16:53:29 +0100 Subject: [PATCH] Fix compilation error visibility --- parser/reflect.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parser/reflect.go b/parser/reflect.go index 98caa06..0822610 100644 --- a/parser/reflect.go +++ b/parser/reflect.go @@ -46,6 +46,9 @@ func ProcessSource(paths *model.RevelContainer) (_ *model.SourceInfo, compileErr // Start walking the directory tree. compileError = utils.Walk(root, pc.processPath) + if compileError != nil { + return + } } return pc.srcInfo, compileError