Sha256: 7a56256ffeff782d8e6de12f51eb3e09a3eb3759fec0abc155980212a581111e
Contents?: true
Size: 681 Bytes
Versions: 5
Compression:
Stored size: 681 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 => lib/nilac.rb :v $cliusage => ruby :v --test --compile $file
Version data entries
5 entries across 5 versions & 1 rubygems