Hi everyone,
I have a little error here and I have to admit that I feel super noob because my error seems elementary, almost trivial. But the problem is that I don't understand it. Here it is. I have this simple code:
deferred class
REPOSITORIES_SHARED
feature {NONE} -- Implementation
database_access:DATABASE_ACCESS
-- The database session manager
once
create Result.make
end
users_repository:USER_REPOSITORY
-- The {REPOSITORY} used to create {USER}
require
Is_Set: database_access.is_database_set
once
create Result.make (database_access)
end
end
The compiler give me a "VAPE: some clients have access to routine but not to a feature used in its precondition". The error is with the precondition of `users_repository' and the insufficient exported feature is `database_access'. Both feature are exported {NONE}, so it is not true to say that client that have access to `users_repository' does not have access to `database_access'. I'm sure there is a very good reason for the compiler to give me this error, but I don't know what it is. If somebody can explain it to me, I would be glad.
Thanks,
Louis M