Skip to content

Commit 1bd8726

Browse files
committed
Fixed build issue - Missing case.ts file that was listed in the pxt.json file
1 parent c7336db commit 1bd8726

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

case.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
3+
4+
namespace switchCase {
5+
6+
/**
7+
* Case Block Container
8+
*/
9+
//% block="case $match"
10+
//% blockId=switchcase_case_block
11+
//% group="Control"
12+
//% weight=90
13+
//% draggableParameters
14+
//% draggableStatement=true
15+
export function caseBlock(match: any): void {
16+
//Placeholder for CodeGen
17+
}
18+
19+
}

switch.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace switchCase {
1919
/**
2020
* Case Block Container
2121
*/
22+
/**********************
2223
//% block="case $match"
2324
//% blockId=switchcase_case_block
2425
//% group="Control"
@@ -28,6 +29,7 @@ namespace switchCase {
2829
export function caseBlock(match: any): void {
2930
//Placeholder for CodeGen
3031
}
32+
*********************/
3133

3234
/**
3335
* Default-Case Block Container

0 commit comments

Comments
 (0)