Describe the syntax errorsource.swift text.plain detected rather than source.swift comment.line.double-slash.swift punctuation.definition.comment.begin.swift
Deleting third slash immediately restores correct behaviour.
Expected behavior
Correctly rendered function below comment.
Minimum Reproducible Snippet of Swift code
/// Compute the prefix sum of `seq`.
public func scan<S : Sequence, U>(_ seq: S, _ initial: U, _ combine: (U, S.Iterator.Element) -> U) -> [U] {
var result: [U] = []
return result
}
Environment (please complete the following information):
Describe the syntax error
source.swift text.plain detected
rather thansource.swift comment.line.double-slash.swift punctuation.definition.comment.begin.swift
Deleting third slash immediately restores correct behaviour.Expected behavior Correctly rendered function below comment.
Minimum Reproducible Snippet of Swift code
Environment (please complete the following information):