mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Add swift files to fallback list (#6724)
This commit is contained in:
parent
6892427e34
commit
4f4328d97c
2 changed files with 2 additions and 0 deletions
|
|
@ -243,6 +243,7 @@ describe("Fallback Extensions Configuration", () => {
|
|||
// Extensions that should use fallback
|
||||
expect(shouldUseFallbackChunking(".vb")).toBe(true)
|
||||
expect(shouldUseFallbackChunking(".scala")).toBe(true)
|
||||
expect(shouldUseFallbackChunking(".swift")).toBe(true)
|
||||
|
||||
// Extensions that should not use fallback (have working parsers)
|
||||
expect(shouldUseFallbackChunking(".js")).toBe(false)
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ export const scannerExtensions = allExtensions
|
|||
export const fallbackExtensions = [
|
||||
".vb", // Visual Basic .NET - no dedicated WASM parser
|
||||
".scala", // Scala - uses fallback chunking instead of Lua query workaround
|
||||
".swift", // Swift - uses fallback chunking due to parser instability
|
||||
]
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue