Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:mewmew/uc into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mewmew committed Jun 13, 2016
2 parents 7ad26fb + d158e8b commit 4a3e103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/usem/usem.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func checkFile(path string, hand bool) error {
file := f.(*ast.File)
input := string(buf)
src := semerrors.NewSource(path, input)
if err := sem.Check(file); err != nil {
if _, err := sem.Check(file); err != nil {
if err, ok := err.(*errutil.ErrInfo); ok {
// Unwrap errutil error.
if err, ok := err.Err.(*semerrors.Error); ok {
Expand Down

0 comments on commit 4a3e103

Please sign in to comment.