Sha256: a73204efd00220317b360d4a6c7c41837daac3a74894d4f5da661e189f6a38b9

Contents?: true

Size: 691 Bytes

Versions: 24

Compression:

Stored size: 691 Bytes

Contents

Feature: Adding automatic return statements to the last evaluated statement
in a function. It is a rubyesque feature imported into Nila.  
  Scenario: Input function with no return statement
    Given the input file "no_return.nila"
    When the ~compiler is run
    The output file must be "no_return.js"
    The output file must equal "correct_return.js"

   Scenario: Input function with a 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 => 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/add_auto_return_statement.feature
nilac-0.0.4.3.0 shark/features/add_auto_return_statement.feature
nilac-0.0.4.2.9 shark/features/add_auto_return_statement.feature
nilac-0.0.4.2.8 shark/features/add_auto_return_statement.feature
nilac-0.0.4.2.6 shark/features/add_auto_return_statement.feature
nilac-0.0.4.2.5 shark/features/add_auto_return_statement.feature
nilac-0.0.4.2.4 shark/features/add_auto_return_statement.feature
nilac-0.0.4.2.3 shark/features/add_auto_return_statement.feature
nilac-0.0.4.2.2 shark/features/add_auto_return_statement.feature
nilac-0.0.4.2.1 shark/features/add_auto_return_statement.feature
nilac-0.0.4.2.0 shark/features/add_auto_return_statement.feature
nilac-0.0.4.1.9 shark/features/add_auto_return_statement.feature
nilac-0.0.4.1.8 shark/features/add_auto_return_statement.feature
nilac-0.0.4.1.7 shark/features/add_auto_return_statement.feature
nilac-0.0.4.1.6 shark/features/add_auto_return_statement.feature
nilac-0.0.4.1.5 shark/features/add_auto_return_statement.feature
nilac-0.0.4.1.4 shark/features/add_auto_return_statement.feature
nilac-0.0.4.1.3 shark/features/add_auto_return_statement.feature
nilac-0.0.4.1.2 shark/features/add_auto_return_statement.feature
nilac-0.0.4.1.1 shark/features/add_auto_return_statement.feature