You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swift allows /* */ to nest. What is happening here is that the /* in ./folder/* is getting matched up with the */ leading to the first comment being unclosed. You can replace the ./folder/* with ./folder/\ * (without the space between the backslash and the *, but I can't get JIRA to work properly), I think that should do the trick.
First of all thank you for your reply.
However, I do not agree with you.
If it is a grammatical problem, it can be solved as you said.
However, the problem here is the annotation document, and the annotation document is universal and has nothing to do with language.
This way of writing is normal in other languages. So, I think this is a bug in swift.
For example, putting this comment in other languages can be parsed normally.
Attachment: Download
Environment
macOS: 11.2.1
xcode: 12.4(12D4e)
swift: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
Additional Detail from JIRA
md5: 584ffe581d5e132234624ebd7b6b4ebe
Issue Description:
The text was updated successfully, but these errors were encountered: