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
I am right clicking on greeting and "Find All References" and I get: Cannot read property then of undefined.
<!-- Single statement block -->
@{ var myMessage = "Hello World"; }
<!-- Inline expression or variable --><p>The value of myMessage is: @myMessage</p><!-- Multi-statement block -->
@{
var greeting = "Welcome to our site!";
var weekDay = DateTime.Now.DayOfWeek;
var greetingMessage = greeting + " Here in Huston it is: " + weekDay;
}
<p>The greeting is: @greetingMessage</p>
The text was updated successfully, but these errors were encountered:
bpasero
added
the
bug
Issue identified by VS Code Team member as probable bug
label
May 24, 2016
ReferenceWidget.setModel returns undefined in some cases.
TypeError: Cannot read property 'then' of undefined
at file:///C:/Alex/src/vscode/out/vs/editor/contrib/referenceSearch/browser/referencesController.js:120:60
at Object.notifySuccess [as _notify] (file:///C:/Alex/src/vscode/out/vs/base/common/winjs.base.raw.js:1440:59)
at Object.state_success_notify.enter (file:///C:/Alex/src/vscode/out/vs/base/common/winjs.base.raw.js:1127:30)
at Promise_ctor.WinJS.Class.define._run (file:///C:/Alex/src/vscode/out/vs/base/common/winjs.base.raw.js:1343:29)
at Promise_ctor.WinJS.Class.define._completed (file:///C:/Alex/src/vscode/out/vs/base/common/winjs.base.raw.js:1311:18)
at argDone (file:///C:/Alex/src/vscode/out/vs/base/common/winjs.base.raw.js:2072:37)
at Promise.then.errors.(anonymous function) (file:///C:/Alex/src/vscode/out/vs/base/common/winjs.base.raw.js:2097:78)
at Object.notifySuccess [as _notify] (file:///C:/Alex/src/vscode/out/vs/base/common/winjs.base.raw.js:1440:59)
at Object.state_success_notify.enter (file:///C:/Alex/src/vscode/out/vs/base/common/winjs.base.raw.js:1127:30)
at Promise_ctor.WinJS.Class.define._run (file:///C:/Alex/src/vscode/out/vs/base/common/winjs.base.raw.js:1343:29)
Refs: #6655
I am right clicking on
greeting
and "Find All References" and I get: Cannot read property then of undefined.The text was updated successfully, but these errors were encountered: