Workaround for Crystal issue

Fix for GitHub issue 1 - 
https://github.com/icy-arctic-fox/spectator/issues/1
Works around Crystal issue 7060 (6920) - 
https://github.com/crystal-lang/crystal/issues/7060

This should be reverted after it is fixed in the Crystal compiler.
This commit is contained in:
Michael Miller 2019-08-21 19:26:40 -06:00
parent 9a3efb95f3
commit 325af1f24e

View file

@ -4,6 +4,12 @@
# Including all files with a wildcard would accidentally enable should-syntax. # Including all files with a wildcard would accidentally enable should-syntax.
# Unfortunately, that leads to the existence of this file to include everything but that file. # Unfortunately, that leads to the existence of this file to include everything but that file.
# FIXME: Temporary (hopefully) require statement to workaround Crystal issue #7060.
# https://github.com/crystal-lang/crystal/issues/7060
# The primary issue seems to be around OpenSSL.
# By explicitly including it before Spectator functionality, we workaround the issue.
require "openssl"
# First the sub-modules. # First the sub-modules.
require "./internals" require "./internals"
require "./dsl" require "./dsl"