Can I somehow prohibit people using inferred retur...
# getting-started
u
Can I somehow prohibit people using inferred return types on public api?
Copy code
(public) fun foo() = Foo()
i.e. to force explicit return types
j
u
oh, neat!
btw do you think the same should apply for
internal
?
s
u
hm..yea bu I kinda dont like slapping
public
everywhere, im already used to no visibility modifier
1