Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] db,stdlib: enable db in stdlib

  • Loading branch information...
commit ac229bb6678c3b4b682c7e20ea8c72d870499fd8 1 parent 4876e86
@OpaOnWindowsNow OpaOnWindowsNow authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 compiler/opa/pass_DbEngineImportation.ml
View
8 compiler/opa/pass_DbEngineImportation.ml
@@ -64,8 +64,9 @@ let import_packages engines =
ObjectFiles.add_compiler_packages packages
let process_code ~stdlib code =
- if stdlib then
- let default_engine = QmlDbGen.get_engine () in
+ let _ = stdlib in
+ (* if stdlib then *)
+ let default_engine = QmlDbGen.get_engine () in
let engines =
match QmlDbGen.Args.get_engine () with
| None -> []
@@ -109,7 +110,8 @@ let process_code ~stdlib code =
r := engines
let finalize ~stdlib =
- if stdlib then (
+ let _ = stdlib in
+ (*if stdlib then*) (
import_packages !r;
match ObjectFiles.compilation_mode() with
| `compilation ->
Please sign in to comment.
Something went wrong with that request. Please try again.