• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rokucommunity / brighterscript / #13698

06 Feb 2025 03:31PM UTC coverage: 88.149% (-0.04%) from 88.185%
#13698

push

web-flow
Add `validate` flag to ProgramBuilder.run() (#1409)

6803 of 8172 branches covered (83.25%)

Branch coverage included in aggregate %.

8 of 9 new or added lines in 1 file covered. (88.89%)

1 existing line in 1 file now uncovered.

9026 of 9785 relevant lines covered (92.24%)

1869.01 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

42.86
/src/types/InvalidType.ts
1
import type { BscType } from './BscType';
2
import { DynamicType } from './DynamicType';
1✔
3

4
export class InvalidType implements BscType {
1✔
5
    constructor(
6
        public typeText?: string
57✔
7
    ) { }
8

9
    public isAssignableTo(targetType: BscType) {
10
        return (
2✔
11
            targetType instanceof InvalidType ||
3✔
12
            targetType instanceof DynamicType
13
        );
14
    }
15

16
    public isConvertibleTo(targetType: BscType) {
17
        return this.isAssignableTo(targetType);
×
18
    }
19

20
    public toString() {
21
        return this.typeText ?? 'invalid';
×
22
    }
23

24
    public toTypeString(): string {
25
        return this.toString();
×
26
    }
27

28
    public clone() {
29
        return new InvalidType(this.typeText);
×
30
    }
31
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc