Skip to content

Commit

Permalink
[typing] Add context to mk_singleton_bigint
Browse files Browse the repository at this point in the history
  • Loading branch information
goodmind committed Jul 10, 2019
1 parent a902843 commit 6447652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typing/type_annotation.ml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ let rec convert cx tparams_map = Ast.Type.(function
(loc, mk_singleton_number cx loc value raw), t_ast

| loc, (BigIntLiteral { Ast.BigIntLiteral.approx_value; bigint } as t_ast) ->
(loc, mk_singleton_bigint loc approx_value bigint), t_ast
(loc, mk_singleton_bigint cx loc approx_value bigint), t_ast

| loc, (BooleanLiteral value as t_ast) ->
(loc, mk_singleton_boolean cx loc value), t_ast
Expand Down

0 comments on commit 6447652

Please sign in to comment.