Skip to content

One whitespace too much in exception #233

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

Closed
nilsreichardt opened this issue Dec 3, 2021 · 1 comment
Closed

One whitespace too much in exception #233

nilsreichardt opened this issue Dec 3, 2021 · 1 comment

Comments

@nilsreichardt
Copy link
Contributor

When you forget to register an object in get_it, you will get an exception like this:

'package:get_it/get_it_impl.dart': Failed assertion: line 315 pos 7: 'instanceFactory != null': Object/factory with  type YourClass is not registered inside GetIt. 
(Did you accidentally do GetIt sl=GetIt.instance(); instead of GetIt sl=GetIt.instance;
Did you forget to register it?)

But it seems so, that there are 2 whitespace instead of one:
Screenshot 2021-12-03 at 12 41 35

@escamoteur
Copy link
Collaborator

thanks, merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants