tools
tools copied to clipboard
π Rome complains about "undeclared variable" for generic type variables in Typescript
Environment information
yarn run v1.22.15
$ /home/castarco/Code/pencil4ts/node_modules/.bin/rome rage
CLI:
Version: 10.0.1
Color support: true
Platform:
CPU Architecture: x86_64
OS: linux
Environment:
ROME_LOG_DIR: unset
NO_COLOR: unset
TERM: "xterm-256color"
Rome Configuration:
Status: loaded
Formatter disabled: false
Linter disabled: false
Workspace:
Open Documents: 0
Discovering running Rome servers...
Running Rome Server: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
i The client isn't connected to any server but rage discovered this running Rome server.
Server:
Version: 10.0.1
Name: rome_lsp
CPU Architecture: x86_64
OS: linux
Workspace:
Open Documents: 0
Other Active Server Workspaces:
Workspace:
Open Documents: 1
Client Name: Visual Studio Code
Client Version: 1.73.1
Workspace:
Open Documents: 1
Client Name: Visual Studio Code
Client Version: 1.73.1
Rome Server Log:
! Please review the content of the log file before sharing it publicly as it may contain sensitive information:
* Path names that may reveal your name, a project name, or the name of your employer.
* Source code
βrome_cli::commands::daemon::Running Server{pid=172460}
ββ127ms INFO rome_lsp::server Starting Rome Language Server...
ββ153ms INFO rome_lsp::server Attempting to load the configuration from 'rome.json' file
ββ153ms INFO rome_service::configuration Attempting to load the configuration file at path "/home/castarco/Code/pencil4ts/rome.json"
βββrome_fs::fs::os::OsFile::read_to_string{}
βββ
ββ153ms INFO rome_lsp::session Configuration found, and it is valid!
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_lsp::session::update_workspace_settings{}
β βββrome_service::workspace::server::update_settings{params=UpdateSettingsParams { configuration: Configuration { files: None, formatter: Some(FormatterConfiguration { enabled: true, format_with_errors: false, indent_style: Tab, indent_size: 2, line_width: LineWidth(120), ignore: None }), linter: Some(LinterConfiguration { enabled: true, rules: Some(Rules { recommended: Some(true), a11y: None, complexity: None, correctness: Some(Correctness { recommended: None, rules: {"noUndeclaredVariables": Plain(Error), "noUnusedVariables": Plain(Error)} }), nursery: None, security: None, style: None }), ignore: None }), javascript: Some(JavascriptConfiguration { formatter: Some(JavascriptFormatter { quote_style: Single, quote_properties: AsNeeded, trailing_comma: All }), globals: None }) } }}
β β βββrome_service::settings::merge_with_configuration{configuration=Configuration { files: None, formatter: Some(FormatterConfiguration { enabled: true, format_with_errors: false, indent_style: Tab, indent_size: 2, line_width: LineWidth(120), ignore: None }), linter: Some(LinterConfiguration { enabled: true, rules: Some(Rules { recommended: Some(true), a11y: None, complexity: None, correctness: Some(Correctness { recommended: None, rules: {"noUndeclaredVariables": Plain(Error), "noUnusedVariables": Plain(Error)} }), nursery: None, security: None, style: None }), ignore: None }), javascript: Some(JavascriptConfiguration { formatter: Some(JavascriptFormatter { quote_style: Single, quote_properties: AsNeeded, trailing_comma: All }), globals: None }) }}
β β βββ
β βββ
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ80344ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ82047ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ85302ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ106538ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ108939ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ113753ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ117960ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ129657ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ132521ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ138609ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ140612ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ147374ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ151086ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ162848ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ166029ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ168171ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ169442ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ172615ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ184170ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ187368ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ188906ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ199306ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ204894ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ207093ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ214868ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ228321ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ230738ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ235039ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ236772ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ242125ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ243782ms WARN tower_lsp::service::pending client asked to cancel request 117, but no such pending request exists, ignoring
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ246068ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ248086ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ253363ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ264196ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ265354ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ274446ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ275804ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ277231ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ278750ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ296539ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ298708ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ300124ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ302770ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ311221ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ328909ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ331539ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ339533ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ359787ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ364022ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ369247ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ372051ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ379304ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ382669ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ385618ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ389543ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ390737ms WARN tower_lsp::service::pending client asked to cancel request 185, but no such pending request exists, ignoring
ββ391757ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ397228ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ403951ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ407505ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ408752ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ412688ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ420811ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ552628ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ559636ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ570991ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ572592ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ578321ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ589629ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ599737ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ612278ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ631309ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ639512ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ644197ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ646431ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ651285ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ665333ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ666589ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ683864ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ687174ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ696035ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
ββ716044ms INFO tower_lsp::service::layers shutdown request received, shutting down
ββ716100ms INFO tower_lsp::service::layers exit notification received, stopping
ββ720341ms INFO rome_lsp::server Starting Rome Language Server...
ββ720621ms INFO rome_lsp::server Attempting to load the configuration from 'rome.json' file
ββ720621ms INFO rome_service::configuration Attempting to load the configuration file at path "/home/castarco/Code/pencil4ts/rome.json"
βββrome_fs::fs::os::OsFile::read_to_string{}
βββ
ββ720621ms INFO rome_lsp::session Configuration found, and it is valid!
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_lsp::session::update_workspace_settings{}
β βββrome_service::workspace::server::update_settings{params=UpdateSettingsParams { configuration: Configuration { files: None, formatter: Some(FormatterConfiguration { enabled: true, format_with_errors: false, indent_style: Tab, indent_size: 2, line_width: LineWidth(120), ignore: None }), linter: Some(LinterConfiguration { enabled: true, rules: Some(Rules { recommended: Some(true), a11y: None, complexity: None, correctness: Some(Correctness { recommended: None, rules: {"noUndeclaredVariables": Plain(Error), "noUnusedVariables": Plain(Error)} }), nursery: None, security: None, style: None }), ignore: None }), javascript: Some(JavascriptConfiguration { formatter: Some(JavascriptFormatter { quote_style: Single, quote_properties: AsNeeded, trailing_comma: All }), globals: None }) } }}
β β βββrome_service::settings::merge_with_configuration{configuration=Configuration { files: None, formatter: Some(FormatterConfiguration { enabled: true, format_with_errors: false, indent_style: Tab, indent_size: 2, line_width: LineWidth(120), ignore: None }), linter: Some(LinterConfiguration { enabled: true, rules: Some(Rules { recommended: Some(true), a11y: None, complexity: None, correctness: Some(Correctness { recommended: None, rules: {"noUndeclaredVariables": Plain(Error), "noUnusedVariables": Plain(Error)} }), nursery: None, security: None, style: None }), ignore: None }), javascript: Some(JavascriptConfiguration { formatter: Some(JavascriptFormatter { quote_style: Single, quote_properties: AsNeeded, trailing_comma: All }), globals: None }) }}
β β βββ
β βββ
βββ
βββrome_js_parser::parse::parse{file_id=FileId(1)}
βββ
ββ796444ms INFO rome_lsp::server Starting Rome Language Server...
ββ796472ms INFO rome_lsp::server Attempting to load the configuration from 'rome.json' file
ββ796472ms INFO rome_service::configuration Attempting to load the configuration file at path "/home/castarco/Code/YoltHub/nominal/rome.json"
ββ796472ms ERROR rome_service::configuration Could not find the file configuration at "/home/castarco/Code/YoltHub/nominal/rome.json"
ββ796472ms ERROR rome_service::configuration Reason: Os { code: 2, kind: NotFound, message: "No such file or directory" }
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_lsp::session::update_workspace_settings{}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ798650ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
βββrome_js_parser::parse::parse{file_id=FileId(0)}
βββ
ββ827608ms WARN tower_lsp Got a textDocument/didSave notification, but it is not implemented
ββ937105ms INFO rome_lsp::server Starting Rome Language Server...
ββ958772ms INFO rome_lsp::server Starting Rome Language Server...
Done in 0.13s.
What happened?
- I define a generic Typescript type that uses "template literal types", such as these ones:
export type NestedContext<S extends NestedContext = ''> = '' | `(${S})` export type Whatever<S extends number> = `Hello ${S}` - Notice that, if only one of them is declared, it will complain (on the right side) about
Sbeing a not declared variable. - If we have many type declarations with a similar structure (that is, using a type variable with the same name inside a template literal type), then Rome will only complain about the last case of a variable with that name being used.
Expected result
Rome should not complain about S not being defined, because it's a type variable that is actually defined (but as a type variable, not as a runtime variable).
Code of Conduct
- [X] I agree to follow Rome's Code of Conduct
Fixed by #3800
@ematipico I think you might have confused this ticket with #3799 , because I was the author of both reports :) . These issues are distinct.
I didn't test it locally yet, but it seems that #3803 tries to fix exactly this.