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

rokucommunity / brighterscript / #13310

22 Nov 2024 08:22PM UTC coverage: 86.806%. Remained the same
#13310

push

web-flow
Merge a320d9302 into 2a6afd921

11836 of 14421 branches covered (82.07%)

Branch coverage included in aggregate %.

192 of 206 new or added lines in 26 files covered. (93.2%)

200 existing lines in 18 files now uncovered.

12869 of 14039 relevant lines covered (91.67%)

32033.54 hits per line

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

31.25
/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

15
    public readonly kind = BscTypeKind.UninitializedType;
×
16

NEW
17
    public isBuiltIn = true;
×
18

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

26
    public toString() {
UNCOV
27
        return 'uninitialized';
×
28
    }
29

30
    public toTypeString(): string {
UNCOV
31
        return this.toString();
×
32
    }
33

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