# Possibly bogus compilation errors from beta beta MakeCode Arcade

**URL:** <https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431>\
**Category:** Arcade\
**Created:** [August 11, 2019, 9:52pm UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431 "2019-08-11T21:52:43Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)\
**Post date:** [August 11, 2019, 9:52pm UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431/1 "2019-08-11T21:52:44Z")

</div>

This trivial code works on [https://arcade.makecode.com/](https://arcade.makecode.com/) but not [https://arcade.makecode.com/beta/](https://arcade.makecode.com/beta/) (`arcade version: 0.13.21, Microsoft MakeCode version: 5.19.9`). How does a user find more information about these compilation failures. I’m suspecting this one is due to a backend fault somewhere as code is trivial and it works on other version. It would be useful to know that to avoid length head scratching.

Here’s on screen error for PyGamer compile target, `Compilation failed, please check your code for error.`:

 ![makecode-arcade-betabeta-download-pygamer-boguscompilationfailed-201908112141](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/48728ad52df48a01589b5a3a452e3566c2780c93.png)

And the code, saved from the beta beta:

![arcade-CompileError](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/e0d7a3cf96b7b1ce58516bea7ef6916d0c73a5b1.png)

In general what’s the stability of the beta beta version like? I was hoping to crank out some code this evening using extensions which are only present in this version.

---

<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:** [August 11, 2019, 10:40pm UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431/2 "2019-08-11T22:40:17Z")

</div>

You can see the error listed out under the explorer in javascript mode -\> `built` -\> `output.js`. When the error is only on compilation for hardware, sometimes it behaves wonkily with the auto-run behavior and clears that which is annoying, so you might have to ‘time it’ for right when the error pops up. We should fix that 🙂

re: stability of beta, in general it’s as stable as we can get it but `beta` is `beta`; generally in arcade it is being kept up to date with nearly the latest changes in `pxt` and `pxt-common-packages`, so some bugs will squeak through occasionally that will be fixed before the next release to the normal live site.

In this case it’s giving the error `error: main.ts(1,1): error TS9200: non unique`, meaning it’s failing the assertion [here](https://github.com/microsoft/pxt/blob/2e114cb5a4782d0444ca3aa95959c51627ff2b94/pxtcompiler/emitter/hexfile.ts#L701). Not really sure the exact cause beyond the obvious hash collision sort of thing here, but it goes away after checking out a commit before [https://github.com/microsoft/pxt-common-packages/pull/917](https://github.com/microsoft/pxt-common-packages/pull/917) ; I had tested that on hardware but it must have been based off an older commit somewhere as it seems to be a consistent error now when downloading to hardware. @mmoskal any ideas on the cause of this one?

---

<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:** [August 11, 2019, 11:09pm UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431/3 "2019-08-11T23:09:19Z")

</div>

For now, though, you can use the previous beta version at [arcade.makecode.com/v0.13.20](http://arcade.makecode.com/v0.13.20) as a workaround

---

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)\
**Post date:** [August 11, 2019, 11:11pm UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431/4 "2019-08-11T23:11:58Z")

</div>

Thanks for swift reply.

Have you considered having three named versions. I don’t know what you want to call them but having the [arcade.makecode.com](http://arcade.makecode.com) for general users, having another for new features being tested and a third for the bleeding edge? It won’t always work but I’m thinking 917 belonged in the bleeding edge and I belonged on the one before that.

It’s also a bit confusing having the _same_ red beta tag on both [https://arcade.makecode.com/](https://arcade.makecode.com/) and [https://arcade.makecode.com/beta/](https://arcade.makecode.com/beta/). Have you considered integrating a version of some sort in that tag or perhaps changing the name/colour?

---

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)\
**Post date:** [August 11, 2019, 11:35pm UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431/5 "2019-08-11T23:35:55Z")

</div>

Unrelated I was trying to convert a number to text earlier. I think I need the equivalent of [https://makecode.microbit.org/reference/text/convert-to-text](https://makecode.microbit.org/reference/text/convert-to-text)  
but was struggling to find it in Arcade? Or does join do that automatically, I got hamped/confused by those errors.

---

<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:** [August 12, 2019, 12:01am UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431/6 "2019-08-12T00:01:20Z")

</div>

Join will implicitly convert to text (it just converts to `"" +` if the first element isn’t a string), that block is just a helper because that behavior isn’t obvious. It is in the text category in arcade at the very bottom.

 ![Screenshot_20190811-163800_Chrome](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/faf1c4707cdc69548cfb1202aef7a48fa61e104b.jpeg)

I also don’t particularly like that it has the same tag for `beta editor / live release` as `beta editor / beta release`, but I can’t immediately think of an unambigious way to convey the difference. Will think on that.

And not sure on adding more refs, in general if it is tested thoroughly enough for another release tag indicating its stable the live site would probably be being updated instead, for now at least.

---

<div class="post-metadata">

**Author:** ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)\
**Post date:** [August 12, 2019, 1:07am UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431/7 "2019-08-12T01:07:54Z")

</div>

The problem is that both ParticleSource and its base class have `id` field. We should handle that, but we currently don’t.

---

<div class="post-metadata">

**Author:** ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)\
**Post date:** [August 12, 2019, 1:17am UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431/8 "2019-08-12T01:17:29Z")

</div>

BTW, you can use previous/other versions by going to [https://arcade.makecode.com/v0.13.20](https://arcade.makecode.com/v0.13.20) etc; you can see here for changes: [https://github.com/microsoft/pxt-arcade/commits/master](https://github.com/microsoft/pxt-arcade/commits/master)

---

<div class="post-metadata">

**Author:** ![kjw](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kjw](https://forum.makecode.com/u/kjw)\
**Post date:** [August 12, 2019, 9:06am UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431/9 "2019-08-12T09:06:23Z")

</div>

Thanks. For the versions are there release notes intended for consumption by users to supplement the “raw” commit lists?

On `convert to text` I’m not sure why I didn’t find that when I knew the micro:bit version had it. I just had a play with the UI and it’s possible I was whizzing my mouse pointer too far to the right and not noticing it hadn’t scrolled down with the mouse wheel. That block window only scrolls if the mouse is within it and I may have overshot as I waded through each drawer (is that the term?) and not noticed that.

---

<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:** [August 12, 2019, 8:38pm UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431/10 "2019-08-12T20:38:16Z")

</div>

The latest beta version, `v0.13.22`, fixes this issue; the underlying cause with overlapping properties still exists for now, though, and will be tracked [here](https://github.com/microsoft/pxt-arcade/issues/1195).

---

<div class="post-metadata">

**Author:** ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)\
**Post date:** [August 13, 2019, 1:10am UTC](https://forum.makecode.com/t/possibly-bogus-compilation-errors-from-beta-beta-makecode-arcade/431/11 "2019-08-13T01:10:00Z")

</div>

There are no more detailed release notes for the beta versions. We only produce these for full releases which happen every few months or so.
