(import) and (using) for pure-kiss classes
This commit is contained in:
@@ -693,4 +693,15 @@ From:[(assert false (+ \"false \" \"should \" \"have \" \"been \" \"true\"))]" m
|
||||
(function _testWhenLetGuards []
|
||||
// Guards should be allowed in whenLet patterns
|
||||
(whenLet [(when true 5) 5]
|
||||
(Assert.pass)))
|
||||
(Assert.pass)))
|
||||
|
||||
(function _testImportAndUsingInBuildMacro []
|
||||
(assertThrowsAtCompileTime (import pack.Type))
|
||||
(assertThrowsAtCompileTime (importAs pack.Type Alias))
|
||||
(assertThrowsAtCompileTime (importAll pack))
|
||||
(assertThrowsAtCompileTime (using pack.Type))
|
||||
(Assert.pass))
|
||||
|
||||
(function _testPureKissClasses []
|
||||
(PureKissClass.test)
|
||||
(Assert.pass))
|
Reference in New Issue
Block a user