tayloraswift/swift-package-factory

doccomment on first line gets stuck to end of previous declaration

tayloraswift opened this issue · 0 comments

this:

/// I am a back-deployed protocol with primary associated types.
@matrix(__Protocol__: [EvolvingProtocolA, EvolvingProtocolB])
protocol __Protocol__<Element, Index>
{
    associatedtype Element 
    associatedtype Index:Strideable

    init()
}

turns into

/// I am a back-deployed protocol with primary associated types.
protocol EvolvingProtocolA<Element, Index>
{
    associatedtype Element 
    associatedtype Index:Strideable

    init()
}/// I am a back-deployed protocol with primary associated types.
protocol EvolvingProtocolB<Element, Index>
{
    associatedtype Element 
    associatedtype Index:Strideable

    init()
}

which loses the doccomment