Skip to content

issues Search Results · repo:rescript-lang/rescript language:ReScript

Filter by

2.6k results
 (112 ms)

2.6k results

inrescript-lang/rescript (press backspace or delete to remove)

Currently, regardless which value of gentypeconfig.generatedFileExtension set, the generated typescript file will have a .tsx extension. There s no way to set it to use .ts extension. Thus generated .tsx ...
  • hackwaly
  • Opened 
    3 days ago
  • #7878

This happens since 12 beta 2: https://rescript-lang.org/try?version=v12.0.0-beta.2 module=esmodule code=AIWw9gJgrgNgpgCgEQCc4EMDGAXJBKAKDgA9s4UA7dGAAigGc4BlbdMgLhoHIA3aqODQC8APhoJe-OABpufGAOFjJCuHmE0kDZqzJICBcNHg0AggAdzGgN4EaNYGizYAdJjAhzYCnArY7NPDYNCDoANaCQuLqojS29vZB4u5QfrKM2ADCYKnYMXSMLGyIAAyEAfYAPBAAljwiFQmVAEZQ2NjeNN6ZMDWYYULWAPpKNBnZuQjmaDyj03CzANQ0AIx4AL5ilQD0re3eDQk0O7X1AesEF0A ...
  • nojaf
  • 2
  • Opened 
    7 days ago
  • #7857

Currently in the playground this yields an error: @@config({flags: [ -enable-experimental , LetUnwrap ]}) // [E] Line 1, column 10: // flags is not supported https://rescript-lang.org/try?version=v12.0.0-beta.8 ...
playground
  • fhammerschmidt
  • 2
  • Opened 
    16 days ago
  • #7820

I m really enjoying nested record types, but I have to break that flow when I hit an array: type encounter_detail = { chance: int } type version_detail = { encounter_details: array encounter_detail ...
enhancement
  • nojaf
  • 3
  • Opened 
    20 days ago
  • #7809

There is an old issue that is still relevant. Can we reconsider formatting of the closing in JSX by moving it to a new line in multiline components?
  • alex35mil
  • 6
  • Opened 
    21 days ago
  • #7802

// not ok let f1 = (a, b) = a + b let _ = f1( x , y ) // ok let f2 = (a, b) = a ++ b let _ = f2( x , y ) // ok let _ = x + y 100 │ // not ok 101 │ let f1 = (a, b) = a + b 102 │ let _ ...
  • tx46
  • 3
  • Opened 
    22 days ago
  • #7798

@unboxed type interpolation = | S(string) | R(RegExp.t) @module( regex ) @taggedTemplate external regex: (array string , array interpolation ) = RegExp.t = regex Console.log(regex` `) // This ...
  • hackwaly
  • 2
  • Opened 
    27 days ago
  • #7777

bsb had this feature: https://github.com/rescript-lang/rescript/blob/c738f752da45f4d5209bee5e56d32f54b02cbb1f/compiler/bsb/bsb_ninja_regen.ml#L52-L55
build
  • fhammerschmidt
  • Opened 
    on Aug 7
  • #7757

type location = { @as( location_area ) locationArea: { name: string, url: string, } } is not valid syntax somehow. https://rescript-lang.org/try?version=v12.0.0-beta.4 module=esmodule ...
  • nojaf
  • Opened 
    on Aug 5
  • #7756

- [X] Is it a bug? Usage questions should often be asked in the forum instead. - [X] Concise, focused, friendly issue title description. - [X] A minimal, reproducible example. - [ ] OS and browser ...
  • reebalazs
  • 18
  • Opened 
    on Aug 3
  • #7753
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.