Narrow signature of math ceil/floor (#9836)

# Description
More narrow attempt than #9740
This doesn't cause issues with the current `test_examples`
infrastructure.
But allows the output of those clearly integer producing commands to be
used with functions declaring `list<int>` or `int`

# User-Facing Changes
see above

# Tests + Formatting
None
This commit is contained in:
Stefan Holderbach 2023-07-28 19:31:48 +02:00 committed by GitHub
parent 8403fff345
commit 28b99bfaf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ impl Command for SubCommand {
(Type::Number, Type::Int),
(
Type::List(Box::new(Type::Number)),
Type::List(Box::new(Type::Number)),
Type::List(Box::new(Type::Int)),
),
])
.allow_variants_without_examples(true)

View File

@ -16,7 +16,7 @@ impl Command for SubCommand {
(Type::Number, Type::Int),
(
Type::List(Box::new(Type::Number)),
Type::List(Box::new(Type::Number)),
Type::List(Box::new(Type::Int)),
),
])
.allow_variants_without_examples(true)