Set experimental option true when set via compile().

Fixes #1490
My point is that options should support non boolean values. That used to
work before the-big-options-refactoring.

On Mon, Nov 10, 2014 at 12:38 PM, johnjbarton <notifications@github.com>
wrote:

> In src/Options.js:
>
> > @@ -205,6 +205,9 @@ export class Options {
> >          typeof object.sourceMaps === 'string') {
> >        this.sourceMaps = object.sourceMaps;
> >      }
> > +    if (object.experimental === true) {
>
> Setting any experimental option true, causes option.experimental true, so
> setting experimental=false will have order dependent results (depending on
> whether 'experiment' comes before or after an individual experimental
> option). Since experimental false is the default, I think ignoring
> experimental=false is the lesser evil.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/google/traceur-compiler/pull/1491/files#r20097954>.
>



-- 
erik