racket / racket/typed-racket

Bug in TR and/or the macro stepper

Open
#273 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
575
Forks
106
Avg merge
2h 1m
Merged PRs (30d)
2

Description

Resubmission of PR15199 in github. Cross posted as a macro-stepper issue too.

The code below gets the macro stepper to do what it's supposed to do.
But commenting-in the type-alias line makes it misbehave: no macro steps
are shown and the navigation arrows at the top are all grayed out.
There are a few students who reported that this happens in the new
version too.

#lang typed/racket

;(define-type-alias Token (U Symbol Integer))

(define-syntax-rule (pushdown X Y) (lambda (Z) #f))

(: balanced : String -> Boolean)
(define balanced (pushdown init init))

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the supplied #lang typed/racket example in the macro stepper, first without and then with the Token type-alias line enabled. Compare the macro-step output and navigation state; the issue is done when the alias no longer prevents steps from appearing or disables the navigation arrows.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.