# Uh.. What?

**URL:** https://forum.makecode.com/t/uh-what/20584
**Category:** Help
**Created:** [June 12, 2023, 4:05pm UTC](https://forum.makecode.com/t/uh-what/20584 "2023-06-12T16:05:11Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [June 12, 2023, 4:05pm UTC](https://forum.makecode.com/t/uh-what/20584/1 "2023-06-12T16:05:11Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/3318bb32f73cc9e4fd09749e33859626a09b9de3.png)  
Yeah, no clue where that semicolon wants to be.

---

<div class="post-metadata">

### Author: ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)
#### Post date: [June 12, 2023, 4:13pm UTC](https://forum.makecode.com/t/uh-what/20584/2 "2023-06-12T16:13:59Z")

</div>

Can you share the code for this? It’s definitely surprising that showed up as i haven’t seen it before. Also pinging @richard, maybe some edge case we need to emit ; to disambiguate?

---

<div class="post-metadata">

### Author: ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)
#### Post date: [June 12, 2023, 4:19pm UTC](https://forum.makecode.com/t/uh-what/20584/3 "2023-06-12T16:19:16Z")

</div>

Can you send your code?

---

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [June 12, 2023, 4:56pm UTC](https://forum.makecode.com/t/uh-what/20584/4 "2023-06-12T16:56:39Z")

</div>

> **[a](https://arcade.makecode.com/S55372-83751-61566-05655)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Here it is!

---

<div class="post-metadata">

### Author: ![ChimbroDaPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chimbrodapro/32/15852_2.png) [@ChimbroDaPro](https://forum.makecode.com/u/ChimbroDaPro)
#### Post date: [June 13, 2023, 4:30pm UTC](https://forum.makecode.com/t/uh-what/20584/5 "2023-06-13T16:30:30Z")

</div>

Fixed!!! Kind of…

> **[a](https://arcade.makecode.com/47295-06020-84112-86214)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

This code works perfectly but I’m still wondering what that `; expected` meant…

---

<div class="post-metadata">

### Author: ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)
#### Post date: [June 13, 2023, 4:58pm UTC](https://forum.makecode.com/t/uh-what/20584/6 "2023-06-13T16:58:58Z")

</div>

Hm, I’m not seeing the same error; when I load up that project I get

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/ad681488c260153303952c643c0da6b9a3f898f5.png)

(here’s a non persistent link at this point: [https://makecode.com/\_LTpHH4Mi94YP](https://makecode.com/_LTpHH4Mi94YP))

It looks like the parameter array type inference does a good job, but then it doesn’t fully propagate to `list`; this would have caused an error either way though as list is not defined. Trying to define list as an empty array does allow an error that is a little gnarly though:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/4/43ca7de62b20f5034300e4633003685f84e6d100.png)  
which comes from it emitting as  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/0/030c7223fd8937199757b5bacc1f8f6f82b54f99.png)

When I pass in an array of text like in the original image it just works:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/8/811c558cd5e9a91741f994c8ab9dfd03179228a0.png)

There’s definitely something that could be improved / fixed here in order to pass up the type info we ‘know’, and I’d be very curious to see if anyone has a link to something that shows that `';' expected.` error

---

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [June 13, 2023, 8:26pm UTC](https://forum.makecode.com/t/uh-what/20584/7 "2023-06-13T20:26:27Z")

</div>

Odd. Must be my side then!

---

<div class="post-metadata">

### Author: ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)
#### Post date: [June 15, 2023, 3:45am UTC](https://forum.makecode.com/t/uh-what/20584/8 "2023-06-15T03:45:36Z")

</div>

Happy b day Joey

---

<div class="post-metadata">

### Author: ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)
#### Post date: [June 15, 2023, 3:44pm UTC](https://forum.makecode.com/t/uh-what/20584/9 "2023-06-15T15:44:37Z")

</div>

Oh woah I didn’t realize! Happy birthday!!! 🥳 🎊 🎉
