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