-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Labels
Issue-BugSomething isn't workingSomething isn't working
Milestone
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Steps to reproduce
The implementation of the DSC concat()
function accepts integers and strings, concatenating them.
DSC/dsc_lib/src/functions/concat.rs
Lines 20 to 22 in f6c6fcd
fn accepted_arg_types(&self) -> Vec<AcceptedArgKind> { | |
vec![AcceptedArgKind::String, AcceptedArgKind::Integer] | |
} |
The concat()
function in ARM templates operates only on strings and arrays, and the input must be either strings or arrays. For strings, it returns a single concatenated string. For arrays, it returns a single concatenated array.
Expected behavior
DSC `concat()` behaves the same as ARM template `concat()`.
Actual behavior
DSC `concat()` supports different concatenating integers and not arrays.
Error details
No response
Environment data
N/A
Version
Latest build from main
Visuals
No response
Metadata
Metadata
Assignees
Labels
Issue-BugSomething isn't workingSomething isn't working
Type
Projects
Status
Done