HomePhorge

(PUP-1960) Make Resource and Class types produce [] on empty input
a196833c26f1Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-1960) Make Resource and Class types produce [] on empty input

If Resource[expr], or Class[expr] are evaluated and the keys expr
results in an empty array after fattening and compaction, the operation
produces an empty array after giving a warning.

This is helpful in situations where the expr is a function call that may
result in an empty array.

In this commit the ability to configure errors to produce warnings and
to allow configuration of severity has been added.

Details

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPUa196833c26f1: (PUP-1960) Make Resource and Class types produce [] on empty input (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Apr 5 2014, 10:59 PM