mirror of
https://github.com/unisonweb/unison.git
synced 2024-08-15 13:30:27 +03:00
added transcript test to verify using a hash in term declaration is an error
This commit is contained in:
parent
cd048f7bdd
commit
e3e008857e
8
unison-src/transcripts/no-hash-in-term-declaration.md
Normal file
8
unison-src/transcripts/no-hash-in-term-declaration.md
Normal file
@ -0,0 +1,8 @@
|
||||
# No Hashes in Term Declarations
|
||||
|
||||
There should not be hashes in the names used in term declarations, either in the type signature or the type definition.
|
||||
|
||||
```unison:hide:all:error
|
||||
x##Nat : Int -> Int -> Boolean
|
||||
x##Nat = 5
|
||||
```
|
@ -0,0 +1,4 @@
|
||||
# No Hashes in Term Declarations
|
||||
|
||||
There should not be hashes in the names used in term declarations, either in the type signature or the type definition.
|
||||
|
Loading…
Reference in New Issue
Block a user