Skip to content

Commit 0a7f648

Browse files
stepanchegfacebook-github-bot
authored andcommitted
Use proper type in MethodsBuilder::set_attribute
Reviewed By: ndmitchell Differential Revision: D47173723 fbshipit-source-id: a119876354bd69fbb77a4a84b1863f13d30d85ac
1 parent b995469 commit 0a7f648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

starlark/src/environment/globals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ impl MethodsBuilder {
393393
name,
394394
true,
395395
docstring,
396-
Ty::name(value.to_value().get_type()),
396+
V::starlark_type_repr(),
397397
move |_, _| Ok(value.to_value()),
398398
);
399399
}

0 commit comments

Comments
 (0)