You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mitya Lyubarskiy
108473e97b
[nullsafe] Changes in wording of error messages: unified and more clear language
...
Summary:
Whole bunch of changes aimed to make error messages more clear and
concise.
1/ Wording and language is unified. We make errors sound more like a
type system violations, rather than linter reccomendations.
Particularly, we refrain from saying things like "may be null" - this is
a linter-style statement that may provoke discussions (what if the
developer knows it can not be null in this particular case).
Instead, we refer to declared nullability and nullability of actual values. This way, it is more clear that this is not a heuristic, this is how rules of a type-system work.
2/ Additionally, we drop things like field class in places when the
context should be clear by who looks at the error. We expect the user
sees the code and the error caption. So e.g. we don't repeat the word "field"
twice.
3/ In cases when we are able to retrieve formal param name, we include it for
usability.
4/ For Field not initialized error, we refer to Initializer methods:
this is a non-obvious but important nullsafe feature.
Reviewed By: artempyanykh
Differential Revision: D18569762
fbshipit-source-id: 9221d7102
5 years ago
..
annotation-reachability-sources-override
[annot reachability] apply sanitizers in more cases
5 years ago
ant
[inefficientKeysetIterator] Turn on by default and fix msg
5 years ago
assembly
[copyright] Remove years
6 years ago
backtrack_level
[copyright] Remove years
6 years ago
buck
[nullsafe] Changes in wording of error messages: unified and more clear language
5 years ago
buck-clang-db
[copyright] Remove years
6 years ago
buck_blacklist
[copyright] Remove years
6 years ago
buck_clang_test_determinator
[test determinator] Run test determinator with the buck compilation database flag
5 years ago
buck_cross_module
[copyright] Remove years
6 years ago
buck_export_changed_functions
[test determinator] Pass flag to test determinator for clang, add test
5 years ago
buck_flavors
[copyright] Remove years
6 years ago
buck_flavors_deterministic
[copyright] Remove years
6 years ago
buck_flavors_diff
Fix test buck_flavours_diff
5 years ago
buck_flavors_run
[copyright] Remove years
6 years ago
buck_javac_jar
[nullsafe] Render origin in a more light weight way
5 years ago
ck_analytics
[copyright] Remove years
6 years ago
ck_imports
[copyright] Remove years
6 years ago
clang_compilation_db
[copyright] Remove years
6 years ago
clang_compilation_db_escaped
[copyright] Remove years
6 years ago
clang_compilation_db_relpath
[copyright] Remove years
6 years ago
clang_multiple_files
[copyright] Remove years
6 years ago
clang_test_determinator
[test determinator] Remove .llvm suffixes before matching the names
5 years ago
clang_translation
[models] get rid of include-based C++ models
5 years ago
clang_unknown_ext
[copyright] Remove years
6 years ago
clang_with_E_flag
[copyright] Remove years
6 years ago
clang_with_MD_flag
[copyright] Remove years
6 years ago
clang_with_M_flag
[copyright] Remove years
6 years ago
clang_with_blacklisted_flags
[copyright] Remove years
6 years ago
cmake
[copyright] Remove years
6 years ago
codetoanalyze
[models] get rid of include-based C++ models
5 years ago
deduplicate_template_warnings
[copyright] Remove years
6 years ago
delete_results_dir
[copyright] Remove years
6 years ago
differential_interesting_paths_filter
[copyright] Remove years
6 years ago
differential_of_costs_report
[cost] Introduce cost issue types for functions on UI Thread
5 years ago
differential_skip_anonymous_class_renamings
[copyright] Remove years
6 years ago
differential_skip_duplicated_types_on_filenames
[copyright] Remove years
6 years ago
differential_skip_duplicated_types_on_filenames_with_renamings
[copyright] Remove years
6 years ago
duplicate_symbols
[copyright] Remove years
6 years ago
export_changed_functions
[test determinator] Pass flag to test determinator for clang, add test
5 years ago
fail_on_issue
[copyright] Remove years
6 years ago
genrule
[nullsafe] Don't render type origin in trivial cases
5 years ago
genrulecapture
[buck/java2] rely on (and modify) PATH to find infer binary to improve caching
5 years ago
gradle
[copyright] Remove years
6 years ago
incremental_analysis_add_procedure
hook in incremental analysis add procedure test
5 years ago
incremental_analysis_change_procedure
Add test for introducing a procedure
5 years ago
incremental_analysis_cost_change
Add test for introducing a procedure
5 years ago
incremental_analysis_remove_file
Add test for introducing a procedure
5 years ago
inferconfig
[copyright] Remove years
6 years ago
inferconfig_not_strict
[copyright] Remove years
6 years ago
infertop
[copyright] Remove years
6 years ago
j1
[copyright] Remove years
6 years ago
java_test_determinator
[copyright] Remove years
6 years ago
javac
[copyright] Remove years
6 years ago
linters
[copyright] Remove years
6 years ago
make
[copyright] Remove years
6 years ago
mock
[copyright] Remove years
6 years ago
mvn
[copyright] Remove years
6 years ago
ndk_build
[copyright] Remove years
6 years ago
objc_getters_setters
[copyright] Remove years
6 years ago
objc_missing_fld
[copyright] Remove years
6 years ago
objc_retain_cycles
[copyright] Remove years
6 years ago
objc_retain_cycles_weak
[copyright] Remove years
6 years ago
preprocessed
[copyright] Remove years
6 years ago
project_root_rel
[copyright] Remove years
6 years ago
racerd_dedup
[copyright] Remove years
6 years ago
reactive
[copyright] Remove years
6 years ago
resource_leak_exception_lines
[copyright] Remove years
6 years ago
results_xml
[copyright] Remove years
6 years ago
run_hidden_linters
[copyright] Remove years
6 years ago
tracebugs
[copyright] Remove years
6 years ago
utf8_in_procname
[copyright] Remove years
6 years ago
utf8_in_pwd
[tests] attempt at fewer race conditions
5 years ago
waf
[copyright] Remove years
6 years ago
xcodebuild
[copyright] Remove years
6 years ago
xcodebuild_no_xcpretty
[copyright] Remove years
6 years ago