You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also it was pretty easy to add support for this in the previous yaml loader code and the python version looks pretty similar so I assume adding it we'll also be easy. Also will probably start having more use cases that take advantage of $copy. The mip/mie was just the first I found.
If you generate MC100 in the main branch, you'll see this problem. I also have a regression test for it (test_yaml_loader.rb tests) in my branch.
Here's the test:
def test_copy_in_the_same_document
yaml = <<~YAML
$defs:
target1: A string
target2:
a: hash
target3: Another string
end
XXX
def test_copy_in_the_different_document
yaml2 = <<~YAML
$defs:
target1: A string
target2:
a: hash
target3: Another string
YAML
end
The text was updated successfully, but these errors were encountered: