Skip to content

Heredoc in code won't parse right #162

@zzak

Description

@zzak

Say you have the following code:

# A sample of ruby with a heredoc
#
#     puts <<END
#       foo = "bar"
#       baz = 42
#     END
#     # foo = "bar"
#     # baz = 42
#       #=> nil
class HereDoc; end

The heredoc is not being respected:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions