Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.
This repository was archived by the owner on Mar 25, 2021. It is now read-only.

testNext broken with typescript@3.8.0-dev.20191105 #4888

@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Example build failure: https://circleci.com/gh/palantir/tslint/18322?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

The 'strict-boolean-expressions' rule threw an error in '/home/circleci/project/test/rules/strict-boolean-expressions/default/test.ts':
TypeError: Cannot read property 'length' of undefined
    at checkIdentifier (/home/circleci/project/node_modules/typescript/lib/typescript.js:51626:61)
    at checkExpressionWorker (/home/circleci/project/node_modules/typescript/lib/typescript.js:58332:28)
    at checkExpression (/home/circleci/project/node_modules/typescript/lib/typescript.js:58282:38)
    at getTypeOfExpression (/home/circleci/project/node_modules/typescript/lib/typescript.js:58258:58)
    at getRegularTypeOfExpression (/home/circleci/project/node_modules/typescript/lib/typescript.js:63839:48)
    at getTypeOfNode (/home/circleci/project/node_modules/typescript/lib/typescript.js:63750:24)
    at Object.getTypeAtLocation (/home/circleci/project/node_modules/typescript/lib/typescript.js:33354:31)
    at checkExpression (/home/circleci/project/build/src/rules/strictBooleanExpressionsRule.js:167:28)
    at cb (/home/circleci/project/build/src/rules/strictBooleanExpressionsRule.js:126:25)
    at visitNode (/home/circleci/project/node_modules/typescript/lib/typescript.js:17768:24)
test/rules/strict-boolean-expressions/default/test.ts.lint: Failed!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions