Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cannot put comments inside blocks #38

Open
@Nixinova

Description

The following creates invalid output:

if ('score X Y matches 1') {
 # Comment
 say hi
}

The output is:

execute if score X Y matches 1 run # Comment
execute if score X Y matches 1 run say hi

Slash comments (//) must be used instead.

What should happen is that the hash comment is just placed before the following command, like:

# Comment
execute if score X Y matches 1 run say hi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /