Coder Social home page Coder Social logo

Comments (7)

schanzer avatar schanzer commented on May 23, 2024

Paging @ds26gte - can you look into this?

from curr.

ds26gte avatar ds26gte commented on May 23, 2024

@schanzer, I'll look into it, but as a reminder, this is the same problem that I ran into for which I asked for logs from you and @kfisler around Aug 15, since neither of you were hit by the bug. Looking at the latter's log, I noted that she was using Racket v6.12, not v7 as I was.

There seems to have been a change in how syntax-parameters (~= symbols as macros) work between Racket v6.12 and v7, but I couldn't find it documented. Our use of the syntax-parameter current-the-unit-description seems to trip this somehow (i.e., it's set to something useful in v6.12, but #f in v7). Maybe because this is a syntax phase issue, instrumenting when something is happening didn't help at all at the time, hence my decision to downgrade to v6.12 for the time being.

from curr.

blerner avatar blerner commented on May 23, 2024

@ds26gte I pinged folks on the Racket slack, and Sam mentioned racket/racket#2035 and confirmed that he's pretty sure syntax-parameters did change in 7.0

from curr.

blerner avatar blerner commented on May 23, 2024

Further follow-up from Matthew: "Offhand, it looks like a problem with syntax transformers and set! – probably a bug in the expander, although it’s possibly in syntax parameters. The expanded code has (#%app the-unit-description the-unit-description ....), and I think it was supposed to be (set! the-unit-description ....)."

Probably worth following up with him offline from this bug, until we know what's going on and how to fix it.

from curr.

mflatt avatar mflatt commented on May 23, 2024

Yes, this seems to be a bug in syntax-parameterize. Specifically, it looks like a missing (require (for-template '#%kernel)) in “stxparamkey.rkt” to make an identifier-binding comparsion on set! work as intended. I should be able to push a repair (for the next release) later today.

from curr.

schanzer avatar schanzer commented on May 23, 2024

Thanks @mflatt and @blerner !!

from curr.

schanzer avatar schanzer commented on May 23, 2024

@doshiro is this still an issue for you?

from curr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.