When typing a function return as say Integer[500,1000]
is not range is not respected.
#9541
Labels
bug
Something isn't working
Describe the Bug
Typing of function return as say
Integer[500,1000]
is not respected. It seems you can return any Integer quite happily.Expected Behavior
A function signature with a return value in a range should work
This function should always fail however it always returns 300.
Steps to Reproduce
Steps to reproduce the behavior:
test.pp
.puppet apply file.pp
.This results in:
Environment
Additional Context
Returning a string does fail since not an integer.
The text was updated successfully, but these errors were encountered: