| 1 |
// test decl in a multi-part chuck statement: A => decl B => C |
| 2 |
// NOTE decl B is type-checked more than once: as part of `A => decl B` |
| 3 |
// and `decl B => C` |
| 4 |
|
| 5 |
SinOsc osc; |
| 6 |
|
| 7 |
// A => decl B => C |
| 8 |
440 => float foo => osc.freq; |
| 9 |
|
| 10 |
// test |
| 11 |
if( 440 == foo ) <<< "success" >>>; |