Ignore:
Timestamp:
Oct 6, 2023, 2:58:48 PM (8 months ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
500a60f
Parents:
0860d9c
Message:

Fix compiler bug where duplicate type declarations caused crash.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/errors/.expect/scope.txt

    r0860d9c r4d860ea3  
    1 errors/scope.cfa:2:1 error: duplicate object definition for thisIsAnError: signed int
    2 errors/scope.cfa:20:1 error: duplicate function definition for butThisIsAnError: function
     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
    33... with parameters
    44  double
Note: See TracChangeset for help on using the changeset viewer.