Fix error messages for some illegal constructions, fix absolute path includes (#251)
* Updated tests, banned type decls and toplevel letvals * Properly ban nested contracts * Fix including by path * Fix error message test * Fix prettpr attr display. Make dialyzer happy * More tests * Fixed type printing * Updated docs
This commit is contained in:
@@ -58,8 +58,7 @@ contract Greeter =
|
||||
|
||||
let state = { greeting = "Hello" }
|
||||
|
||||
let setGreeting =
|
||||
(greeting: string) =>
|
||||
function setGreeting(greeting: string) =
|
||||
state{ greeting = greeting }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user