# Bug: Compiler Error

**URL:** <https://forum.kirupa.com/t/bug-compiler-error/227850>\
**Category:** flash\
**Created:** [June 3, 2007, 1:50am UTC](https://forum.kirupa.com/t/bug-compiler-error/227850 "2007-06-03T01:50:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neves](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/neves/32/3691_2.png) [@neves](https://forum.kirupa.com/u/neves)\
**Post date:** [June 3, 2007, 1:50am UTC](https://forum.kirupa.com/t/bug-compiler-error/227850/1 "2007-06-03T01:50:22Z")

</div>

Why bugs keep following me?

Open a new .fla, go to the first frame and put the follow code:

```auto

stop()
(this as MovieClip).play()

```

We know that AS can be written without semicolon (and I prefer that, since I´m a Ruby developer), but the above example, we must use semicolon after stop  
This works:

```auto

stop();
 (this as MovieClip).play()

```

It´s obviously a parse error from the compiler. This works too:

```auto

stop()
var foo = (this as MovieClip).play()

```
