# Bug #209 : work-around?

**URL:** https://discourse.myhdl.org/t/bug-209-work-around/148
**Category:** Bug
**Created:** [January 13, 2017, 10:15am UTC](https://discourse.myhdl.org/t/bug-209-work-around/148 "2017-01-13T10:15:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![DrPi](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.myhdl.org/drpi/32/36_2.png) [@DrPi](https://discourse.myhdl.org/u/DrPi)
#### Post date: [January 13, 2017, 10:15am UTC](https://discourse.myhdl.org/t/bug-209-work-around/148/1 "2017-01-13T10:15:14Z")

</div>

I’ve just added bug [#209](https://github.com/myhdl/myhdl/issues/209) in github.  
It is very annoying for the way I code.

Does anyone have a work-around (except using functions instead of class method) ?

---

<div class="post-metadata">

### Author: ![DrPi](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.myhdl.org/drpi/32/36_2.png) [@DrPi](https://discourse.myhdl.org/u/DrPi)
#### Post date: [January 20, 2017, 2:35pm UTC](https://discourse.myhdl.org/t/bug-209-work-around/148/2 "2017-01-20T14:35:12Z")

</div>

Thanks to @hgomersall, the problem is fixed in PR #189.
