On Mon, 31 Dec 2018 13:18:11 +0100, Sönke Ludwig wrote:

Am 29.12.2018 um 16:02 schrieb Mengu:

hi all

i'm trying to import HttpServerRequest and HttpServerResponse from vibe.http.server module and i get the error:

module vibe.http.server import HttpServerRequest not found.

it's clearly there and not marked private at all: https://github.com/vibe-d/vibe.d/blob/v0.8.4/http/vibe/http/server.d#L844

i'm using vibe.d 0.8.4 with ldc 1.12.0

thanks in advance.

Looks like the "ttp" of "HTTP" just has the wrong case.

I would have expected the compiler to emit a Did you mean <br>"HTTPServerRequest"? but probably the limit of differing characters for
that is two, and different case is not treated differently than any
other character difference.

i really need my glasses. sorry i took your time. :( this was LDC btw, not DMD. i haven't tried with DMD.