We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9f1b3 commit efbd561Copy full SHA for efbd561
mustang/YAMLContext.ooc
@@ -45,13 +45,14 @@ YAMLContext: class extends Context {
45
normalizedValue := scalar value trim() toLower()
46
47
//TODO: boolean detection should be moved into ooc-yaml (datatype detection)
48
- match normalizedValue {
+ v: Value = match normalizedValue {
49
case "true" => BoolValue new(true)
50
case "yes" => BoolValue new(true)
51
case "false" => BoolValue new(false)
52
case "no" => BoolValue new(false)
53
case => StringValue new(scalar value)
54
}
55
+ return v
56
57
58
sequenceToListValue: static func(seq: SequenceNode) -> ListValue {
0 commit comments