Closed pkesseli closed 1 year ago
I also realised since I updated library_classes
I also affected source/tests/integration/end-to-end/code/check_cast_types
, which doesn't get run by default in tests.yml
. I updated those expected JSON files in my latest push as well now.
I manually compiled check_cast_types/KotlinCheckCast.kt
and added it to the JAR - not sure whether that's intended way of running this test, but it produced the same JSON output files again except for my new models in library_classes
. 🙂
@yuhshin-oss has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
Ugh, couple of clangtidy/format issues showing up internally that's too tedious to type all of them here. If you can address the RE2 one, we should be able to auto-format after importing
Thanks, all addressed. I wasn't sure how to run the linter myself, otherwise I would have checked for that!
@yuhshin-oss has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@arthaud has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@arthaud merged this pull request in facebook/mariana-trench@c266c18820d0a355ef5555f3f8ee77bb5bbe5c57.
As discussed in the workplace group I added support for source models for literals matching configurable regular expressions. The
models.md
documentation outlines what that would look like:Example literal models:
Example code:
Reviewer note
In order to test these changes, I added new classes and methods to
source/tests/integration/end-to-end/library_classes
, which causes a significant amount of unrelated changes to other tests'expected_xxx.json
. I tried to constrain those changes to the commitUpdate library_classes
.