test: fix sumtype shadow & as test

pull/5416/head
joe-conigliaro 2020-06-19 01:14:53 +10:00
parent 198fdcf1c6
commit 812a9d646a
No known key found for this signature in database
GPG Key ID: C12F7136C08206F1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ type Animal = Cat | Dog
const ( const (
cat = Cat{name: 'cat'} cat = Cat{name: 'cat'}
dog = Cat{name: 'dog'} dog = Dog{name: 'dog'}
) )
fn test_shadow() { fn test_shadow() {