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
  • #134
Closed
Open
Issue created Nov 21, 2013 by Administrator@rootContributor

Creating syntax objects without a context now fails when pushed through the parser

Created by: natefaubion

I believe its tied to https://github.com/mozilla/sweet.js/commit/7888722d0c5225bbf8324716083561cfac27b3f3

macro fun {
  case { _ } => {
     return [
       makeKeyword('function'),
       makeDelim('()', []),
       makeDelim('{}', [])
     ];
   }
 }

var f = fun;

The range ends up being undefined which fails in wrapTrackingFunction.

Assignee
Assign to
Time tracking