Also handle indirect recursive inlining

This commit is contained in:
dcodeIO
2018-07-14 18:21:11 +02:00
parent 4b8500355a
commit 1928f46cb9
6 changed files with 47 additions and 17 deletions

View File

@ -1,4 +1,18 @@
// direct
@inline
export function foo(): void {
foo();
}
// indirect
@inline
export function bar(): void {
baz();
}
@inline
export function baz(): void {
bar();
}