AK: Remove unused Jakt methods

This commit is contained in:
Timothy Flynn 2025-05-10 16:10:18 -04:00 committed by Tim Flynn
commit e2b863ed3f
Notes: github-actions[bot] 2025-05-11 01:21:31 +00:00
2 changed files with 3 additions and 13 deletions

View file

@ -74,13 +74,6 @@ public:
return from_string_view(StringView { string_literal, N - 1 });
}
// Note: Don't call this from C++; it's here for Jakt interop (as the name suggests).
template<SameAs<StringView> T>
ALWAYS_INLINE static Error __jakt_from_string_literal(T string)
{
return from_string_view(string);
}
bool operator==(Error const& other) const
{
return m_code == other.m_code && m_string_literal == other.m_string_literal && m_kind == other.m_kind;