You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately I cannot get this review rule working. It always results in "I found no errors!". Here's my example code:
Main.elm
moduleMainexposing (Model, main)
importBrowserimportHtmlexposing (Html, div, text)
type alias Model={ x :Int}main:Program()ModelMsgmain =Browser.sandbox { init ={ x =0}, update = update, view = view }type Msg=Increment|Decrementupdate:Msg->Model->Modelupdate msg model =case msg ofIncrement->{ model | x = model.x +1}Decrement->{ model | x = model.x -1}view:Model->HtmlMsgview model =
div [][ text <|String.fromInt model.x
]
Unfortunately I cannot get this review rule working. It always results in "I found no errors!". Here's my example code:
Main.elm
review/src/ReviewConfig.elm
Then I run
npx elm-review --debug
:I had expected that something gets generated in
Lense.elm
.I also tried to create
Lense.elm
as an empty module beforehand, but didn't work either.Could someone provide a simple self-contained correct example?
The text was updated successfully, but these errors were encountered: