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

Wrong code generation for unbound interface dependencies #78

Open
koriym opened this issue Jun 30, 2020 · 0 comments · May be fixed by #112
Open

Wrong code generation for unbound interface dependencies #78

koriym opened this issue Jun 30, 2020 · 0 comments · May be fixed by #112
Assignees
Labels

Comments

@koriym
Copy link
Member

koriym commented Jun 30, 2020

バインドされていないインターフェイスの依存のコードの作成が間違っている

生成例

<?php
  
namespace Ray\Di\Compiler;

$instance = new \FakeVendor\HelloWorld\UnboundInterface();
$is_singleton = false;
return $instance;

Unboundをインターフェイスを確認しないでUntarget束縛してるのではないだろうか?

@koriym koriym added the bug label Jun 30, 2020
@koriym koriym self-assigned this Jun 30, 2020
@koriym koriym changed the title Wrong code creation for unbound interface dependencies Wrong code generation for unbound interface dependencies Jun 30, 2020
@koriym koriym linked a pull request May 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant