Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Well it's clearly stated in the error message "Two different types with this name exist but they are unrelated [...]"
-
Teknas27517y@theCalcaholic if you're referring to shadowing, that was not the case. What solved it was removing the type completely because it was declared in the function Definition.
-
Teknas27517y@theCalcaholic I might be wrong but I guess declaring a variable with the same name in an inner scope is shadowing
-
@Teknas Yes it is. I think I misunderstood you. You didn't remove the type *definition*, but the typing of the variable to fix it, right?
-
Teknas27517y@theCalcaholic I removed the type definition of the variable consuming the object. Because it was declared in the producer, the consumer didn't need to specify type.
Related Rants
-
linuxxx32*client calls in* Me: good morning, how can I help you? Client: my ip is blocked, could you unblock it for m...
-
DRSDavidSoft28Found this in our codebase, apparently one of my co-workers had written this
-
linuxxx23*client calls* "hello, we forgot the password to our WiFi router. Could you reset that for us?" 😐😶😮...
Type checking huh ?
joke/meme
wtf