YR Chen
YR Chen
### Steps to reproduce ```swift import RoutingKit let router = Router() router.register(0, at: [.constant("b"), .anything, .constant("c")]) router.register(1, at: [.constant("b"), .parameter("a")]) var params = Parameters() router.route(path: ["b", "c", "c"], parameters: ¶ms)...
It will produce "Function has token parameter but isn't an intrinsic" error on nearly every file, which may be related to llvm/llvm-project#40056 ```swift Function has token parameter but isn't an...
### Steps to reproduce https://github.com/Yurisa/babel-runtime-jsx-style-transform 该仓库最新提交为2年前,npm audit提示多项安全风险且无法自动修复
### Verification - [X] This issue's title and/or description do not reference a single formula e.g. `brew install wget`. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead. ### Provide...
## 检查 - [x] 已经阅读《研究生学位论文撰写手册》或《中国科学技术大学本科毕业论文(设计)格式》 - [x] 已经将模板升级到了最新版 - [x] 已经阅读使用说明文档 `ustcthesis.pdf` - [x] 已经阅读 [常见问题](https://github.com/ustctug/ustcthesis/wiki/常见问题) ## 编译环境 - 编译的系统:macOS 12.6.5 - TeX 发行版:MacTeX 2023.0314 - 模板类型:bachelor ## 描述问题 最新的《中国科学技术大学本科毕业论文(设计)格式》似乎把关键词分隔符改了回去……...
### Description `BasicFormat` cannot indent the closure body when it's nested in a `LabeledExprSyntax`. ### Steps to Reproduce ```swift let builder = ExprSyntax( """ .init( name: { if let name...
### Description For syntax nodes like `FunctionEffectSpecifiersSyntax` and `FunctionParameterSyntax`, some spacings are required internally. However, if a handcraft node is interpolated into another expression string, `SwiftSyntaxBuilder` fails to add these...
### Description Nowadays we have `DeclSyntax`, `ExprSyntax`, `StmtSyntax`, `TokenSyntax`, `TypeSyntax`... with `ExpressibleByStringLiteral` conformance. If an initializer takes a concrete-typed parameter of one of these types, string literal syntax works perfectly,...
This is a very, very early (partial) demo implementation of [SwiftPM support for Swift scripts](https://forums.swift.org/t/pitch-swiftpm-support-for-swift-scripts-revision/46717), which expects feedback from both the compiler & `SwiftSyntax` team as I'm new to implement...