# Kotlin error compiling decorated suspend inline functions

**URL:** <https://discuss.kotlinlang.org/t/kotlin-error-compiling-decorated-suspend-inline-functions/9115>\
**Category:** Support\
**Created:** [August 18, 2018, 5:42pm UTC](https://discuss.kotlinlang.org/t/kotlin-error-compiling-decorated-suspend-inline-functions/9115 "2018-08-18T17:42:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mattklein999](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/mattklein999/32/5444_2.png) [@mattklein999](https://discuss.kotlinlang.org/u/mattklein999)\
**Post date:** [September 10, 2018, 5:19pm UTC](https://discuss.kotlinlang.org/t/kotlin-error-compiling-decorated-suspend-inline-functions/9115/3 "2018-09-10T17:19:12Z")

</div>

Thanks Alexey!

Any thoughts on [this thread](https://discuss.kotlinlang.org/t/decorated-suspend-inline-function-continuation-resumes-in-wrong-spot/9126/3)? That link points to the original problem I had, and when trying to reproduce with logging I then ran into the problem described here.

The other issue seems like a much bigger error, since everything appears to compile fine but the generated code is incorrect.

---

_[View the full topic](https://discuss.kotlinlang.org/t/kotlin-error-compiling-decorated-suspend-inline-functions/9115)._
