2018-05-05 16:51:16 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
////[|async|] function f() {
|
|
|
|
//// [|await|] 100;
|
|
|
|
//// [|a/**/wait|] [|await|] 200;
|
2018-05-09 16:42:44 +02:00
|
|
|
////class Foo {
|
|
|
|
//// async memberFunction() {
|
|
|
|
//// await 1;
|
|
|
|
//// }
|
|
|
|
////}
|
2018-05-05 16:51:16 +02:00
|
|
|
//// return [|await|] async function () {
|
|
|
|
//// await 300;
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
////async function g() {
|
|
|
|
//// await 300;
|
|
|
|
//// async function f() {
|
|
|
|
//// await 400;
|
|
|
|
//// }
|
|
|
|
////}
|
|
|
|
|
|
|
|
verify.rangesAreOccurrences(false);
|