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

rokucommunity / brighterscript / #12931

13 Aug 2024 05:02PM UTC coverage: 86.193% (-1.7%) from 87.933%
#12931

push

web-flow
Merge 58ad447a2 into 0e968f1c3

10630 of 13125 branches covered (80.99%)

Branch coverage included in aggregate %.

6675 of 7284 new or added lines in 99 files covered. (91.64%)

84 existing lines in 18 files now uncovered.

12312 of 13492 relevant lines covered (91.25%)

26867.76 hits per line

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

33.33
/src/types/UninitializedType.ts
1
import { isDynamicType, isUninitializedType } from '../astUtils/reflection';
1✔
2
import type { TypeCompatibilityData } from '../interfaces';
3
import { BscType } from './BscType';
1✔
4
import { BscTypeKind } from './BscTypeKind';
1✔
5
import { DynamicType } from './DynamicType';
1✔
6

7
export class UninitializedType extends BscType {
1✔
8
    public isAssignableTo(targetType: BscType) {
9
        return (
×
10
            targetType instanceof UninitializedType ||
×
11
            targetType instanceof DynamicType
12
        );
13
    }
14

NEW
15
    public readonly kind = BscTypeKind.UninitializedType;
×
16

17
    public isTypeCompatible(targetType: BscType, data?: TypeCompatibilityData) {
NEW
18
        return (
×
19
            isUninitializedType(targetType) ||
×
20
            isDynamicType(targetType)
21
        );
22
    }
23

24
    public toString() {
25
        return 'uninitialized';
×
26
    }
27

28
    public toTypeString(): string {
29
        return this.toString();
×
30
    }
31

32
    public isEqual(targetType: BscType): boolean {
NEW
33
        return isUninitializedType(targetType);
×
34
    }
35
}
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

© 2026 Coveralls, Inc