Skip to content

Commit ca0c7fa

Browse files
SamChou19815meta-codesync[bot]
authored andcommitted
Fix new flow casting syntax codegen bug
Reviewed By: gkz Differential Revision: D95054803 fbshipit-source-id: a66c5bcd5a74f94338a22703c0d214d922aec48c
1 parent ee51df6 commit ca0c7fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • compiler/crates/relay-typegen/src

compiler/crates/relay-typegen/src/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ fn write_concrete_validator_function(
11111111
match typegen_language {
11121112
TypegenLanguage::Flow | TypegenLanguage::JavaScript => {
11131113
let cast_op = if use_new_flow_casting_syntax {
1114-
" as "
1114+
":: as "
11151115
} else {
11161116
": "
11171117
};

0 commit comments

Comments
 (0)