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

rokucommunity / brighterscript / #12898

31 Jul 2024 11:29AM UTC coverage: 86.175% (-1.8%) from 87.933%
#12898

push

web-flow
Merge 1b2ddf4b9 into ccce446ec

10590 of 13082 branches covered (80.95%)

Branch coverage included in aggregate %.

6646 of 7254 new or added lines in 99 files covered. (91.62%)

85 existing lines in 18 files now uncovered.

12292 of 13471 relevant lines covered (91.25%)

26722.8 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