Skip to content

pyrefly infer not applying any annotations #1866

Description

@ssomayyajula

Describe the Bug

Running pyrefly infer --untyped-def-behavior check-and-infer-return-type --infer-with-first-use=true --containers=true --return-types=true --parameter-types=true --imports=true test.py on pyrefly 0.46.0 where test.py is:

s = 'x'

Produces no annotations (final result is the same file as above). Not sure if this is expected behavior. Thanks in advance!

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

Labels

inferof or related to pyre inferstale

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions