Skip to content

Commit b6e38ff

Browse files
authored
Merge pull request github#17342 from jketema/coroutine
C++: Fix coroutine IR inconsistencies
2 parents 5753459 + fd9a5ee commit b6e38ff

18 files changed

+10469
-1332
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
class Function extends @function {
2+
string toString() { none() }
3+
}
4+
5+
class Type extends @type {
6+
string toString() { none() }
7+
}
8+
9+
class Variable extends @variable {
10+
string toString() { none() }
11+
}
12+
13+
from Function func, Type traits, Variable handle, Variable promise
14+
where
15+
coroutine(func, traits) and
16+
coroutine_placeholder_variable(handle, 1, func) and
17+
coroutine_placeholder_variable(promise, 2, func)
18+
select func, traits, handle, promise

0 commit comments

Comments
 (0)