[fine] Fiddle with tests, no errors
This commit is contained in:
parent
65fef78c44
commit
4be4572574
8 changed files with 41 additions and 35 deletions
|
|
@ -1,3 +1,24 @@
|
|||
if true { "discarded"; 23 } else { 45 }
|
||||
|
||||
// @no-errors
|
||||
// Here come some type probes!
|
||||
// (type of the condition)
|
||||
// @type: 3 bool
|
||||
//
|
||||
// (the discarded expression)
|
||||
// @type: 10 string
|
||||
//
|
||||
// (the "then" clause)
|
||||
// @type: 23 f64
|
||||
// @type: 26 f64
|
||||
//
|
||||
// (the "else" clause)
|
||||
// @type: 35 f64
|
||||
// @type: 38 f64
|
||||
//
|
||||
// (the overall expression)
|
||||
// @type: 0 f64
|
||||
//
|
||||
// @concrete:
|
||||
// | File
|
||||
// | IfStatement
|
||||
|
|
@ -23,22 +44,3 @@
|
|||
// | Number:'"45"'
|
||||
// | RightBrace:'"}"'
|
||||
//
|
||||
if true { "discarded"; 23 } else { 45 }
|
||||
|
||||
// Here come some type probes!
|
||||
// (type of the condition)
|
||||
// @type: 667 bool
|
||||
//
|
||||
// (the discarded expression)
|
||||
// @type: 674 string
|
||||
//
|
||||
// (the "then" clause)
|
||||
// @type: 686 f64
|
||||
// @type: 689 f64
|
||||
//
|
||||
// (the "else" clause)
|
||||
// @type: 696 f64
|
||||
// @type: 699 f64
|
||||
//
|
||||
// (the overall expression)
|
||||
// @type: 664 f64
|
||||
Loading…
Add table
Add a link
Reference in a new issue