question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Builtin list is cached too long

See original GitHub issue

https://sentry.io/matt-godbolt/compiler-explorer/issues/368894896/

TypeError: Cannot read property 'indexOf' of undefined
  at fromString (vs/editor/file:/Users/penlv/code/vscode/src/vs/editor/common/model/textSource.ts:46:37)
  at fromString (vs/editor/file:/Users/penlv/code/vscode/src/vs/editor/common/model/textSource.ts:138:47)
  at setValue (vs/editor/file:/Users/penlv/code/vscode/src/vs/editor/common/model/textModel.ts:374:33)
  at t.setValue (vs/editor/file:/Users/penlv/code/vscode/src/vs/editor/common/commonCodeEditor.ts:213:15)
  at Editor.<anonymous> (editor.js:257:1)
...
(6 additional frame(s) were not displayed)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mattgodboltcommented, Jan 18, 2018

Yeah, this is more a “would be nice to avoid this entirely”. Should be a quick fix anyway - if I can’t do it in a few minutes when I sit down and give it a go, I’ll put this as an enhancement…

0reactions
mattgodboltcommented, Jan 23, 2018

Closing, I made the change I wanted to make (mostly), and you’re right @RabsRincon !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python in-memory cache with time to live - Stack Overflow
My aim is to be able to pass a string and a TTL to the cache and be able to fetch all the...
Read more >
Advanced content caching settings on Mac - Apple Support
Key Description Default value AllowImports Allows import (upload) requests. Yes MetricsInterval 60 (seconds) Parents none
Read more >
Server-side caching - Apollo GraphQL Docs
If another object type in this schema includes a field of type Post (or a list of Post s), that field's value is...
Read more >
Build Cache - Gradle User Manual
The Gradle build cache is a cache mechanism that aims to save time by reusing outputs produced by other builds. The build cache...
Read more >
How to Clear Your Cache in WordPress (Step by Step)
Simply go to the Settings » WP Rocket and click on the 'Clear Cache' button in the plugin dashboard. Now WP Rocket will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found