No matches were found for subject:"Why does this compile \(method in class without return type\)"