Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Readme does not match warning - Anonymous Users #72

Open
philippneugebauer opened this issue Sep 13, 2017 · 2 comments
Open

Readme does not match warning - Anonymous Users #72

philippneugebauer opened this issue Sep 13, 2017 · 2 comments

Comments

@philippneugebauer
Copy link

I got the following warnings from my Canada.Can file but these changes were encouraged in the README for Anonymous Users.

warning: the Canada.Can protocol has already been consolidated, an implementation for App.User has no effect
  lib/app/abilities.ex:2

warning: the Canada.Can protocol has already been consolidated, an implementation for Atom has no effect
  lib/app/abilities.ex:27
@philippneugebauer
Copy link
Author

Funnily, this warning just appears after an IEx.pry statement in the abilities.ex file. Beside the warning, it seems to work with my implementation, so I don't know what to do about this warning

@TwelveNights
Copy link

TwelveNights commented Apr 24, 2020

The warning would occur only on recompilation if the protocols have already been consolidated. Perhaps this issue should be closed as it seems to be related to the tooling and not to canary itself.

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

No branches or pull requests

2 participants