https://linen.dev logo
Join DiscordCommunities
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    05/17/2023, 9:30 PM
    i dont think it will be, if it is, it will be an easy fix
  • h

    happy-agent-4114

    05/17/2023, 9:30 PM
    blank seems like it's working
  • b

    bright-gpu-74537

    05/17/2023, 9:30 PM
    perfect
  • h

    happy-agent-4114

    05/17/2023, 9:31 PM
    I just kinda assumed that something like blank would exist internally in core
  • h

    happy-agent-4114

    05/17/2023, 9:31 PM
    thanks for the help
  • b

    bright-gpu-74537

    05/17/2023, 9:31 PM
    no reason for a "no backend" to exist in core
  • b

    bright-gpu-74537

    05/17/2023, 9:32 PM
    it should be an error... not default to some noop
  • h

    happy-agent-4114

    05/17/2023, 9:32 PM
    the reason is because that's how it worked in my head 🗿
  • h

    happy-agent-4114

    05/17/2023, 9:32 PM
    I also put like 12 extra files of just interface definitions in all my stuff though so like
  • b

    bright-gpu-74537

    05/17/2023, 9:32 PM
    it doesnt, if you want to compile anything in haxeui, you need to supply certain impls
  • h

    happy-agent-4114

    05/17/2023, 9:32 PM
    I might not be the best metric
  • b

    bright-gpu-74537

    05/17/2023, 9:33 PM
    everything in core is, essentially, delegated to another (proxy) lib
  • b

    bright-gpu-74537

    05/17/2023, 9:33 PM
    no backend, no haxeui-core
  • b

    bright-gpu-74537

    05/17/2023, 9:33 PM
    its a valid error
  • h

    happy-agent-4114

    05/17/2023, 9:34 PM
    no yeah I get why and it makes sense now
  • h

    happy-agent-4114

    05/17/2023, 9:34 PM
    I just made an assumption based around "if i had written this worse it would be like this"
  • b

    bright-gpu-74537

    05/17/2023, 9:35 PM
    i never, personally, thought about using haxeui-blank in order to work with modules in isolation... makes sense though
  • p

    powerful-morning-89

    05/17/2023, 9:36 PM
    I was going to suggest adding a dummy ComponentImpl.hx file to haxeui-core with
    #error "Backend required"
    in it, but then you might run into issues with the order in which
    haxeui-core
    and the backend are declared in a hxml...
  • h

    happy-agent-4114

    05/17/2023, 9:36 PM
    could a macro do that?
  • h

    happy-agent-4114

    05/17/2023, 9:37 PM
    iirc there's some way to make macros run on the language server but I have no idea how
  • p

    powerful-morning-89

    05/17/2023, 9:37 PM
    I guess you could add an init macro that adds a onTypeNotFound hook that gives a proper error?
  • b

    bright-gpu-74537

    05/17/2023, 9:38 PM
    i think its a valid error
  • b

    bright-gpu-74537

    05/17/2023, 9:38 PM
    you didnt include a "ComponentImpl" (for example) in your classpath
  • p

    powerful-morning-89

    05/17/2023, 9:39 PM
    Yes, but as we just saw it's not always clear to users how they should fix it.
  • h

    happy-agent-4114

    05/17/2023, 9:40 PM
  • b

    bright-gpu-74537

    05/17/2023, 9:40 PM
    dunno, feels like a special case, adding "#if xyz error are you sure?" doesnt feel sensible to me
  • b

    bright-gpu-74537

    05/17/2023, 9:42 PM
    fourth message
  • h

    happy-agent-4114

    05/17/2023, 9:42 PM
    I thought that was an internal backend
  • h

    happy-agent-4114

    05/17/2023, 9:42 PM
    which seems like an oxymoron but
  • b

    bright-gpu-74537

    05/17/2023, 9:43 PM
    i dont know why you would think there would be a "fallback" backend, or what that would do... but... i guess it doesnt matter?
1...167316741675...1687Latest