Skip to content
New issue

Have 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

unexpected overlap in comment with round_trip_load() #46

Open
skhomuti opened this issue Feb 10, 2021 · 0 comments
Open

unexpected overlap in comment with round_trip_load() #46

skhomuti opened this issue Feb 10, 2021 · 0 comments

Comments

@skhomuti
Copy link

ruyaml.round_trip_load causes following error, but yaml hasn't contain any comments

NotImplementedError: overlap in comment [None, [CommentToken('\n', line: 2, col: 0)]] [None, [CommentToken('\n', line: 4, col: 0)]]
- config:
      key: {default: 123}

-

    config: 123

load() and safe_load() works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant