moonbitlang / core

MoonBit's Core library

Home Page:https://moonbitlang.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect scope of comments after formatting in enum and struct

CAIMEOX opened this issue · comments

Before:

pub enum T {
  A(@immutable_vec.ImmutableVec[T])
  /// Comment
}

After:

pub enum T {
  A(@immutable_vec.ImmutableVec[T])
}
/// Comment

This also happens in struct in which the field contains @.

fixed

fixed