❔ Inconsistent accessibility [Answered]
I have this bit of code here
And I cannot for the life of me figure out why it gives me the error
Inconsistent accessibility: field type 'Map<UnitName, Unit>' is less accessible than field 'Units.all
. Map is just an immutable dictionary from Language.Ext (https://louthy.github.io/language-ext/LanguageExt.Core/Immutable%20Collections/Map/index.html) Any ideas?3 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Aaaaaah, thanks. I think I misremembered them always being effectively static as them always being public 😅 It still amuses me how beginner mistakes will never stop cropping up and stumping me from time to time.
✅ This post has been marked as answered!
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.