Skip to content

No support for newline between function parameters and return type #51

Description

@alexjurkiewicz
  • Editor name and version: Atom 1.9.3
  • MagicPython version: MagicPython 0.5.13
  • A sreenshot:
    screen shot 2016-08-09 at 2 22 16 pm
  • 5-10 lines of surrounding code:
@util.timer
def get_streaks(s: sqlalchemy.orm.session.Session,
                active: Optional[bool]=None,
                sort_by_length: Optional[bool] = False,
                limit: Optional[int]=None,
                ) \
        -> Sequence[Streak]:

Python runs this code just fine, it seems MagicPython doesn't handle newline continuations in this space properly. Removing the \ has no effect on syntax highlighting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions