:wtf: compiler message


  • area_deu

    BC30390 'Utilities.Public Function EndOfYear(year As Integer) As Date' is not accessible in this context because it is 'Public'.
    
    What happened

    This method is called from a different assembly.
    While the Function in question is declared as Public, the Module its in was declared without modifier, which is interpreted as Friend (visible inside the assembly it's in).



  • @aliceif This is why you should use C#: its compiler messages make sense :shopping_cart:


  • Discourse touched me in a no-no place

    @aliceif That's up there with the errors you can get in Java when you start really messing around with classloaders; things like (paraphrased) “can't call method; expected class a.b.c.Foo but found class a.b.c.Foo”. The first time you see those things, you totally go :wtf: but the key is that classes in the JVM aren't just distinguished by name, despite what the errors say…


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.