File: day_239__bugfixes_and_frustration.mdwn

package info (click to toggle)
git-annex 10.20230126-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,344 kB
  • sloc: haskell: 74,654; javascript: 9,103; sh: 1,304; makefile: 203; perl: 136; ansic: 44
file content (28 lines) | stat: -rw-r--r-- 1,197 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Several bug fixes today, and got mostly caught up on recent messages.
Still have a backlog of two known bugs that I cannot reproduce well enough
to have worked on, but I am thinking I will make a release tomorrow. There
have been a lot of changes in the 10 days since the last release.

----

I am, frustratingly, stuck building the webapp on Android with no forward
progress today (and last night) after such a productive day yesterday.

The expanded Template Haskell code of the webapp fails to compile,
whereever type safe urls are used.

<pre>
Assistant/WebApp/Types.hs:95:63:
    Couldn't match expected type `Route WebApp -> t2'
                with actual type `Text'
    The function `urender_a1qcK' is applied to three arguments,
    but its type `Route WebApp -> [(Text, Text)] -> Text' has only two
    In the expression: urender_a1qcK u_a1qcL [] LogR
    In the first argument of `toHtml', namely
      `(\ u_a1qcL -> urender_a1qcK u_a1qcL [] LogR)'
</pre>

My best guess is this is a mismatch between the versions of yesod (or other
libraries) used for the native and cross compiled ghc's. So I've been
slowly trying to get a fully matched set of versions in between working on
bugs.