HomePhorge

(PUP-979) Fix unparenthesized calls with hash to not give strange error
8a4d1b3c0ab7Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-979) Fix unparenthesized calls with hash to not give strange error

Previously, an unparenthesized call followed by a hash would always
result in an error that the hash was a resource body without title.

The change now treats the resource body without title as an opportunity
to transform the expression into a hash (and subsequently into a
call with a hash as an argument).

At the same time, the set of functions this is available for has been
reduced to realize, require, contain, include, and the logging functions
notice, info, warning, error, and the fail function.

Details

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU8a4d1b3c0ab7: (PUP-979) Fix unparenthesized calls with hash to not give strange error (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Mar 9 2014, 12:35 AM