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