Sha256: 1d6b0d2fd9e89763d8058133eb602909ba48bc983f9d2271e8a1aedf62316239

Contents?: true

Size: 552 Bytes

Versions: 5

Compression:

Stored size: 552 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 => lib/nilac.rb
:v $cliusage => ruby :v --test --compile $file

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nilac-0.0.4.3.9.8 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.9.7.1 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.9.7 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.9.6 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.9.5 shark/features/multiple_variable_initialization.feature