Sha256: 73e3c48a70c2bfd12ab4c6cfa071c91023f9096796bdf96cd7dce18e46365bd8

Contents?: true

Size: 556 Bytes

Versions: 1

Compression:

Stored size: 556 Bytes

Contents

Feature: Javascript doesn't allow multiple variable initializations from a method call. So this feature attempts to fix this problem. This feature is complementary to the multiple return feature.

  Scenario: Multiple variables initialized from a method call.
    Given the input file "multiple_initialization.nila"
    When the ~compiler is run
    The output file must be "multiple_initialization.js"
    The output file must equal "correct_initialization.js"

Configurations:

~compiler => bin/nilac.rb
:v $cliusage => ruby :v --compile $file

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nilac-0.0.3.8 shark/features/multiple_variable_initialization.feature