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

rokucommunity / brighterscript / #13388

29 Nov 2024 07:55PM UTC coverage: 86.824%. Remained the same
#13388

push

web-flow
Merge b1d7d7253 into 57fa2ad4d

12087 of 14723 branches covered (82.1%)

Branch coverage included in aggregate %.

379 of 407 new or added lines in 36 files covered. (93.12%)

244 existing lines in 22 files now uncovered.

13071 of 14253 relevant lines covered (91.71%)

33084.46 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