[fine] Tweak syntax for assertions to make me happier
This commit is contained in:
parent
758aef4db9
commit
8835d9eaf2
12 changed files with 104 additions and 25 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// concrete:
|
||||
// @concrete:
|
||||
// | File
|
||||
// | IfStatement
|
||||
// | ConditionalExpression
|
||||
|
|
@ -27,18 +27,18 @@ if true { "discarded"; 23 } else { 45 }
|
|||
|
||||
// Here come some type probes!
|
||||
// (type of the condition)
|
||||
// type: 667 bool
|
||||
// @type: 667 bool
|
||||
//
|
||||
// (the discarded expression)
|
||||
// type: 674 string
|
||||
// @type: 674 string
|
||||
//
|
||||
// (the "then" clause)
|
||||
// type: 686 f64
|
||||
// type: 689 f64
|
||||
// @type: 686 f64
|
||||
// @type: 689 f64
|
||||
//
|
||||
// (the "else" clause)
|
||||
// type: 696 f64
|
||||
// type: 699 f64
|
||||
// @type: 696 f64
|
||||
// @type: 699 f64
|
||||
//
|
||||
// (the overall expression)
|
||||
// type: 664 f64
|
||||
// @type: 664 f64
|
||||
Loading…
Add table
Add a link
Reference in a new issue