text: var {Dictionary, Helper, Type} = require("@kaoscript/runtime");
  module.exports = function() {
  	var Point = Helper.struct(function(x, y) {
  		if(arguments.length < 2) {
  			throw new SyntaxError("Wrong number of arguments (" + arguments.length + " for 2)");
  		}
  		if(x === void 0 || x === null) {
  			throw new TypeError("'x' is not nullable");
  		}
  		else if(!Type.isNumber(x)) {
  			throw new TypeError("'x' is not of type 'Number'");
  		}
  		if(y === void 0 || y === null) {
  			throw new TypeError("'y' is not nullable");
  		}
  		else if(!Type.isNumber(y)) {
  			throw new TypeError("'y' is not of type 'Number'");
  		}
  		const _ = new Dictionary();
  		_.x = x;
  		_.y = y;
  		return _;
  	});
  	return {
  		Point: Point
  	};
  };