source: tests/errors/.expect/scope.txt @ 4d860ea3

Last change on this file since 4d860ea3 was 4d860ea3, checked in by Michael Brooks <mlbrooks@…>, 8 months ago

Fix compiler bug where duplicate type declarations caused crash.

And add missing test. The test runs and fails with the previous cfa compiler.

  • Property mode set to 100644
File size: 263 bytes
Line 
1errors/scope.cfa:13:1 error: duplicate object definition for thisIsAnError: signed int
2errors/scope.cfa:30:1 error: duplicate function definition for butThisIsAnError: function
3... with parameters
4  double
5... returning
6  double
7 with body
8  Compound Statement:
9
Note: See TracBrowser for help on using the repository browser.