HomePhorge

(PUP-4278) Fix grammar error when unless then-part was empty
1dcbc014bf85Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-4278) Fix grammar error when unless then-part was empty

There was a problem in the grammar that caused an expression like:

unless true {} else {1}

to result in nil because neither the then-, nor the else- part were
added to the generated UnlessExpression.

This corrects the call to generate the UnlessExpression.

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU1dcbc014bf85: (PUP-4278) Fix grammar error when unless then-part was empty (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Mar 25 2015, 3:18 PM