Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fiber:name() and fiber.name() similarity #4445

Open
izmalk opened this issue Aug 22, 2019 · 1 comment

Comments

@izmalk
Copy link

commented Aug 22, 2019

Tarantool version:
1.10.2-1-ge0017ad
OS version:
MacOS 10.14.6

Bug description:
I found that a very similar commands f:name() and f.name() will produce a different result for the same f = fiber_object. It is a little bit unexpected from f.name(), even tho there is a comment in documentation that states:

fiber.self():name() can also be expressed as fiber.name().

Example:

tarantool> fiber = require('fiber')
---
...

tarantool> f = fiber.create(fiber.sleep, 999)
---
...
tarantool> f
---
- status: suspended
  name: lua
  id: 112
...

tarantool> f.name()
---
- interactive
...

tarantool> f:name()
---
- lua
...
@kyukhin kyukhin added the feature label Aug 23, 2019
@kyukhin kyukhin added this to the wishlist milestone Aug 23, 2019
@Gerold103

This comment has been minimized.

Copy link
Collaborator

commented Aug 25, 2019

@kyukhin 1) how is it a feature?, 2) what is a proposed solution to the problem (it looks like a bug, not feature)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.