Sha256: d6383c7c352841452bd4162a012bdf71a261d98e51c2eb41b47a2535ddfc55e8

Contents?: true

Size: 556 Bytes

Versions: 24

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
nilac-0.0.4.3.3 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.0 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.2.9 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.2.8 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.2.6 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.2.5 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.2.4 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.2.3 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.2.2 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.2.1 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.2.0 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.1.9 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.1.8 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.1.7 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.1.6 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.1.5 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.1.4 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.1.3 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.1.2 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.1.1 shark/features/multiple_variable_initialization.feature