Skip to content

bug: inline comments get automatically removed #47

@Ivansete-status

Description

@Ivansete-status

When starting to use nph in nwaku, SP detected that inline comments are being automatically erased.

image

waku-org/nwaku#2396 (comment)

  let predicate = proc(record: waku_enr.Record): bool =
    bootnodes.contains(record) or # Temp. Bootnode exception
    (
      # one comment
      record.getCapabilities().len > 0 and   ### THIS COMMENT CAN'T BE ADDED
      nodeShard.shardIds.anyIt(record.containsShard(nodeShard.clusterId, it))
    ) #RFC 64 guideline

Thanks in advance!

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