Goose  Artifact [23da8ee647]

Artifact 23da8ee647112e983e06b127309ea9aceb800589b7da4027f76bad7338cedccc:

  • File bs/builtins/builtins.h — part of check-in [35ff2a536e] at 2021-11-26 22:42:06 on branch trunk —
    • Fixed adding predicates to a type alias created with using that modified the original type
    • Fixed ambiguous parsing of using expressions that were mistook for overload redefinitions in some cases
    (user: zlodo size: 764)

#ifndef GOOSE_BUILTINS_H
#define GOOSE_BUILTINS_H

#include "eir/eir.h"
#include "cir/cir.h"
#include "sema/sema.h"
#include "diagnostics/diagnostics.h"

namespace goose::builtins
{
    using namespace eir;
    using namespace sema;
    using namespace diagnostics;

    extern const Term& RootG0Identity();
}

#include "codegen/codegen.h"

#include "helpers.h"
#include "builders/codebuilder.h"
#include "types/types.h"
#include "operators/operators.h"
#include "statements/statements.h"
#include "exprhelpers.h"

namespace goose::builtins
{
    extern void SetupDefaultBuilderInterface( Env& e );
    extern void SetupCodeBuilderInterface( Env& e );
    extern void SetupPropositionsBuilderInterface( Env& e );
    extern void SetupBuiltins( Env& e );
}

#endif