Sha256: 0c3eff72761594cd44b5e0ccd29130e443d601491b44abcdd257a32eeb149722

Contents?: true

Size: 717 Bytes

Versions: 1

Compression:

Stored size: 717 Bytes

Contents

Feature: Javascript, by default, doesn't allow for the return of multiple values. So this is Nila's attempt to fix this problem.   
  Scenario: Input function with multiple return statement
    Given the input file "multiple_return.nila"
    When the ~compiler is run
    The output file must be "multiple_return.js"
    The output file must equal "correct_multiple_return.js"

   Scenario: Input function with a single return statement
    Given the input file "single_return.nila"
    When the ~compiler is run
    The output file must be "single_return.js"
    The output file must equal "correct_single_return.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/method_multiple_return.feature