• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Build has been canceled!

rokucommunity / brighterscript / #13625

16 Jan 2025 06:37PM UTC coverage: 86.817% (-1.4%) from 88.185%
#13625

push

web-flow
Merge 4d932f3a2 into 71f9febcc

12444 of 15150 branches covered (82.14%)

Branch coverage included in aggregate %.

7705 of 8349 new or added lines in 101 files covered. (92.29%)

85 existing lines in 17 files now uncovered.

13351 of 14562 relevant lines covered (91.68%)

34002.61 hits per line

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

71.43
/src/types/NamespaceType.ts
1
import { isNamespaceType } from '../astUtils/reflection';
1✔
2
import type { GetTypeOptions, TypeCompatibilityData } from '../interfaces';
3
import { BscType } from './BscType';
1✔
4
import { BscTypeKind } from './BscTypeKind';
1✔
5

6
export class NamespaceType extends BscType {
1✔
7

8
    constructor(public name: string) {
1,648✔
9
        super(name);
1,648✔
10
    }
11

12
    public readonly kind = BscTypeKind.NamespaceType;
1,648✔
13

14
    public toString() {
15
        return this.name;
12,676✔
16
    }
17

18
    public isTypeCompatible(targetType: BscType, data?: TypeCompatibilityData) {
NEW
19
        return this.isEqual(targetType);
×
20
    }
21

22

23
    getMemberType(name: string, options: GetTypeOptions) {
24
        const fullName = this.toString() + '.' + name;
11,252✔
25
        return super.getMemberType(name, { ...options, fullName: fullName, tableProvider: () => this.memberTable });
11,252✔
26
    }
27

28
    isEqual(targetType: BscType): boolean {
NEW
29
        return isNamespaceType(targetType) && targetType.name === this.name;
×
30
    }
31

32
}
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