beanmachine icon indicating copy to clipboard operation
beanmachine copied to clipboard

Make AnyRequirement a singleton

Open ericlippert opened this issue 2 years ago • 2 comments

Summary: We represent edge requirements imposed by BMG by a requirement object; there is no reason why we ever need two or more instances of the object representing "there is no requirement imposed, anything will do". I've made this object a singleton.

Reviewed By: ToddSmall

Differential Revision: D34827079

ericlippert avatar May 11 '22 00:05 ericlippert