-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[YAML] weird sequence-in-mapping error #8077
New issue
Ha 8000 ve a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
cordoval
added a commit
to cordoval/symfony
that referenced
this issue
Dec 5, 2013
keep in mind #8562 (comment) @indeyets |
@fabpot a full patch as in the entire yaml spec? Or am i misreading the comment |
Closing as we indeed do not support the whole spec and we will never be able to. |
reopening as I think this should be easy to solve (at least I think so and will take a look into it) |
see #18840 for a fix |
fabpot
added a commit
that referenced
this issue
May 23, 2016
This PR was merged into the 2.3 branch. Discussion ---------- [Yaml] properly handle unindented collections | Q | A | ------------- | --- | Branch? | 2.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #8077 | License | MIT | Doc PR | Commits ------- 717e1a9 [Yaml] properly handle unindented collections
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This YAML code is parsed just fine:
But this code:
results in
Symfony\Component\Yaml\Exception\ParseException
with messageYou cannot define a sequence item when in a mapping
I believe, that both examples are correct
The text was updated successfully, but these errors were encountered: