Skip to content

Instantly share code, notes, and snippets.

---
ERROR: This is a compiler bug.
Please report it via https://issues.dlang.org/enter_bug.cgi
with, preferably, a reduced, reproducible example and the information below.
DustMite (https://github.com/CyberShadow/DustMite/wiki) can help with the reduction.
---
DMD %.*s
predefs DigitalMars Posix OSX CppRuntime_Clang darwin LittleEndian D_Version2 all D_SIMD D_InlineAsm_X86_64 X86_64 D_LP64 D_PIC assert D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat D_ObjectiveC
binary dmd
version v2.085.1-379-gb5ee1cdc8-dirty
doctype html
html
head
title #{id} - WebChat
style.
textarea, input { width: 100%; }
textarea { resize: vertical; }
body
h1 Room '#{id}'
import vibe.vibe;
import std.stdio;
class Room
{
/// id of this room
private string id;
/// archive of all messages
/**
* The exception module defines all system-level exceptions and provides a
* mechanism to alter system-level error handling.
*
* Copyright:
* Copyright (C) 2005-2006 Sean Kelly, Kris Bell.
* Some parts copyright (c) 2009-2016 Sociomantic Labs GmbH.
* All rights reserved.
*
* License:
/*
Copyright: Copyright Andrej Mitrovic 2012-
License: $(HTTP boost.org/LICENSE_1_0.txt, Boost License 1.0).
*/
module inherit_constructors;
import std.string;
import std.typecons;
import std.traits;
import std.exception;
module forward_ctors;
import std.string;
import std.typecons;
import std.traits;
import std.exception;
private string stcToString(uint stc) // bug: can't use ParameterStorageClass type
{
string[] result;
module forward_ctors;
import std.string;
import std.typecons;
import std.traits;
import std.exception;
private string stcToString(uint stc) // bug: can't use ParameterStorageClass type
{
string[] result;
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("beej.us") {
/* body, p, div, textarea {
font-family: !important;
} */
/* this works: */
/* pre.code {