2019-05-20 21:26:12 +02:00
|
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
|
|
//@Filename: jsxExpressionFollowedByIdentifier.tsx
|
|
|
|
|
////declare var React: any;
|
2019-05-20 23:58:25 +02:00
|
|
|
|
////const a = <div>{<div />[|x|]}</div>
|
2019-05-21 23:21:44 +02:00
|
|
|
|
////const b = <div x={<div />[|x|]} />
|
2019-05-20 21:26:12 +02:00
|
|
|
|
|
2019-05-22 00:28:16 +02:00
|
|
|
|
test.ranges().forEach(range => {
|
2019-05-22 19:00:09 +02:00
|
|
|
|
verify.errorExistsAtRange(range, ts.Diagnostics._0_expected.code, "'}' expected.");
|
2019-05-22 00:28:16 +02:00
|
|
|
|
// This is just to ensure getting quick info doesn’t crash
|
|
|
|
|
verify.not.quickInfoExists();
|
|
|
|
|
});
|