Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S sweet-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 62
    • Issues 62
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sweet-js
  • sweet-core
  • Issues
  • #327
Closed
Open
Issue created May 23, 2014 by Administrator@rootContributor

Non-expressions can't be used on LHS of infix macro when in expression position.

Created by: natefaubion

var a = for <<!

Where <<! is some infix macro. There aren't a lot of use cases for it, but it does speak to the larger limitations of expression position infix macros. I only really noticed when debugging why multi parameter arrow lambas weren't working with 0.6.0. The reason being that (a, b, c) used to be an "expression" and so worked on the LHS, but due to #326 (closed), it no longer accepts it as an expression, and is thus not allowed in expression position.

Assignee
Assign to
Time tracking