Skip to content

Commit 475edfc

Browse files
committed
fable: Instantiate missing Number<signed char>
As it turns out, specially for char, the following is true: char != unsigned char char != signed char Which is surprising to me. I hope that this is compatible with other compilers, otherwise this change will need some secondary patching.
1 parent 88a92dc commit 475edfc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

fable/src/fable/schema/number.cpp

+5-4
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,15 @@ namespace fable {
3333
namespace schema {
3434

3535
template class Number<char>;
36+
template class Number<signed char>;
3637
template class Number<unsigned char>;
37-
template class Number<short>;
38+
template class Number<signed short>;
3839
template class Number<unsigned short>;
39-
template class Number<int>;
40+
template class Number<signed int>;
4041
template class Number<unsigned int>;
41-
template class Number<long int>;
42+
template class Number<signed long int>;
4243
template class Number<unsigned long int>;
43-
template class Number<long long int>;
44+
template class Number<signed long long int>;
4445
template class Number<unsigned long long int>;
4546
template class Number<float>;
4647
template class Number<double>;

0 commit comments

Comments
 (0)