Skip to content

Fixing issue #11

Fixing issue #11 #8

Triggered via dynamic June 28, 2025 04:37
Status Success
Total duration 36m 41s
Artifacts 1

copilot

on: dynamic
Fit to window
Zoom out
Zoom in

Annotations

4 errors
copilot: src/compiler/emitter.ts#L6120
This assertion is unnecessary since it does not change the type of the expression
copilot: src/compiler/emitter.ts#L6121
This assertion is unnecessary since it does not change the type of the expression
copilot: src/compiler/emitter.ts#L6120
This assertion is unnecessary since it does not change the type of the expression
copilot
Cannot find module 'react/jsx-runtime'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?\\r\\n\\r\\n\\r\\n==== commentsOnJSXExpressionsArePreserved.tsx (1 errors) ====\\r\\n // file is intentionally not a module - this tests for a crash in the module/system transforms alongside the `react-jsx` and `react-jsxdev` outputs\\r\\n namespace JSX {}\\r\\n class Component {\\r\\n render() {\\r\\n return <div>\\r\\n ~~~~~\\r\\n {/* missing */}\\r\\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~\\r\\n {null/* preserved */}\\r\\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\\r\\n {\\r\\n ~~~~~~~~~~~~~\\r\\n // ??? 1\\r\\n ~~~~~~~~~~~~~~~~~~~~~~~~\\r\\n }\\r\\n ~~~~~~~~~~~~~\\r\\n { // ??? 2\\r\\n ~~~~~~~~~~~~~~~~~~~~~~\\r\\n }\\r\\n ~~~~~~~~~~~~~\\r\\n {// ??? 3\\r\\n ~~~~~~~~~~~~~~~~~~~~~\\r\\n }\\r\\n...\\n```File: `tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsx,module=system,moduledetection=auto).errors.txt`\\n```text\\n...\\n ~~~~~~~~~~~~~\\r\\n {\\r\\n ~~~~~~~~~~~~~\\r\\n // ??? 4\\r\\n ~~~~~~~~~~~~~~~~~~~~~~~~\\r\\n /* ??? 5 */}\\r\\n ~~~~~~~~~~~~~~~~~~~~~~~~\\r\\n </div>;\\r\\n ~~~~~~~~~~~~~~\\r\\n!!! error TS2792: Cannot find module 'react/jsx-runtime'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?\\r\\n }\\r\\n }\\n```\",\"languageName\":\"Text\",\"path\":\"tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsx,module=system,moduledetection=auto).errors.txt\",\"range\":{\"start\":1,\"end\":39},\"ref\":\"refs/heads/main\",\"type\":\"snippet\",\"url\":\"https://github.com/RyanCavanaugh/TypeScript/blob/b481a4229f62a32b7a735fa35f12b6d558dbfc89/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsx,module=system,moduledetection=auto).errors.txt#L1-L39\"},{\"contents\":\"File: `tests/baselines/reference/commentEmittingInPreserveJsx1.js`\\n```javascript\\n//// [tests/cases/conformance/jsx/commentEmittingInPreserveJsx1.tsx] ////\\r\\n\\r\\n//// [file.tsx]\\r\\nimport React = require('react');\\n\\n<div>\\n // Not Comment\\n</div>;\\n\\n<div>\\n // Not Comment\\n {\\n //Comment just Fine\\n }\\n // Another not Comment\\n</div>;\\n\\n<div>\\n // Not Comment\\n {\\n //Comment just Fine\\n \\\"Hi\\\"\\n }\\n // Another not Comment\\n</div>;\\n\\n<div>\\n /* Not Comment */\\n {\\n //Comment just Fine\\n \\\"Hi\\\"\\n }\\n</div>;\\r\\n\\r\\n//// [file.jsx]\\r\\n\\\"use strict\\\";\\r\\nObject.defineProperty(exports, \\\"__esModule\\\", { value: true });\\r\\nvar React = require(\\\"react\\\");\\r\\n<div>\\n // Not Comment\\n</div>;\\r\\n<div>\\n // Not Comment\\n {\\r\\n //Comment just Fine\\r\\n }\\n // Another not Comment\\n</div>;\\r\\n<div>\\n // Not Comment\\n {\\r\\n //Comment just Fine\\r\\n \\\"Hi\\\"}\\n // Another not Comment\\n</div>;\\r\\n<div>\\n /*...*/\\n```File: `tests/baselines/reference/commentEmittingInPreserveJsx1.js`\\n```javascript\\n/*...*/\\n /* Not Comment */\\n {\\r\\n //Comment just Fine\\r\\n \\\"Hi\\\"}\\n</div>;\\r\\n\\n```\",\"languageName\":\"JavaScript\",\"path\":\"tests/baselines/reference/commentEmittingInPreserveJsx1.js\",\"range\":{\"start\":1,\"end\":61},\"ref\":\"refs/heads/main\",\"type\":\"snippet\",\"url\":\"https://github.com/RyanCavanaugh/TypeScript/blob/b481a4229f62a32b7a735fa35f12b6d558dbfc89/tests/baselines/reference/commentEmittingInPreserveJsx1.js#L1-L61\"},{\"contents\":\"File: `tests/baselines/reference/transformApi/transformsCorrectly.transformAddCommentToImport.js`\\n```javascript\\n\\\"use strict\\\";\\r\\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\\r\\n if (k2 ==

Artifacts

Produced during runtime
Name Size Digest
results Expired
1.5 KB
sha256:5e506569cff29b9458dc80a0612f0a134eaafde7b0abcc674bdd71b200b047cd