Sha256: e3fec739efb209b8c7796a94a854acdd3d384a0da4cb73f2cd6733aa92f6a688

Contents?: true

Size: 545 Bytes

Versions: 2

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nilac-0.0.4.3.9.4 shark/features/multiple_variable_initialization.feature
nilac-0.0.4.3.9.3 shark/features/multiple_variable_initialization.feature