Sha256: bd3a36b26b51824abd8cc23f24eca41b0893f1768aa6f25d0fccd8e17761133f

Contents?: true

Size: 545 Bytes

Versions: 7

Compression:

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
nilac-0.0.4.3.9.2 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.9.1 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.9 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.8 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.7 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.6 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.4 shark/features/multiple_variable_initialization.feature