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

rokucommunity / brighterscript / #12716

14 Jun 2024 08:20PM UTC coverage: 85.629% (-2.3%) from 87.936%
#12716

push

web-flow
Merge 94311dc0a into 42db50190

10808 of 13500 branches covered (80.06%)

Branch coverage included in aggregate %.

6557 of 7163 new or added lines in 96 files covered. (91.54%)

83 existing lines in 17 files now uncovered.

12270 of 13451 relevant lines covered (91.22%)

26529.43 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